What are Encapsulation, Polymorphism and Inheritance?
Answer Posted / mohankumar
Encapsulation is also known as information hiding,it is to
protect data from the client using the classes but still
allowing the client to access the data,but do not modifying it.
Polymorphism ability to perform differently on different forms.
Inheritance means one base class derived from one or more
classes.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
How does arraylist work in java?
Is array size fixed in java?
Can we overload run() method in java?
Which sorting algorithm is best in java?
Which is faster set or list in java?
What is are packages?
Difference between collection, collection and collections in java?
Is empty list java?
What is the importance of hashcode() and equals() methods?
Difference between operator overloading and function overloading
Explain a few methods of overloading best practices in java?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is the purpose of assert keyword used in jdk1.4.x?
Which is faster call by value or call by reference?
Can a class have an interface?