11/4/2023 0 Comments Oops tutorial![]() Binding of data and corresponding methods into a single unit is called Encapsulation.It improves easyness to use our system.īy using interfaces (GUI screens) we can implement abstraction.It improves modularity of the application.It improves maintainability of the application.It provides more flexibility to the end user to use system very easily.Enhancement will become very easy because without effecting end user we can able to perform any type of changes in our internal system.We can achieve security as we are not highlighting our internal implementation.(i.e., outside person doesn't aware our internal implementation.).By using abstract classes and interfaces we can implement abstraction.īy using ATM GUI screen bank people are highlighting the set of services what they are offering without highlighting internal implementation.Hide internal implementation and just highlight the set of services, is called abstraction.Note: recommended modifier for data members is private. The main advantage of data hiding is security. By using private modifier we can implement data hiding.Īfter providing proper username and password only, we can access our Account information.Our internal data should not go out directly that is outside person can't access our internal data directly. ![]() In how many ways get an object in java ?.Difference between ArrayList l=new ArrayList() & List l=new ArrayList() ?.Instance control flow in Parent to Child relationship.Static control flow parent to child relationship.Differences between overloading and overriding ?.Overriding with respect to Var-arg methods.Overriding with respect to static methods.Object Oriented Programming (OOPS) Agenda:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |