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
Which data type is class in java?
What are scriptlets?
What is multi-catch block in java?
Explain about doubly linked list
What is the SimpleTimeZone class?
Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview
What is public static?
Is an empty arraylist null?
Which collection is best for sorting in java?
What is fail fast in java?
How do you control extraneous variables?
what invokes a threads run() method? : Java thread
Is static a keyword in java?
What is the use of flag?
How arrays are stored in memory in java?