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
Is null == null in java?
What is the difference between reader/writer and inputstream/output stream?
What are scriptlets?
Which number is denoted by leading 0x or 0x in java?
What is the difference between hashmap and hashtable? What is an interface?
What's the base class of all exception classes?
Explain access modifiers in java.
Is finalize() similar to a destructor?
What is the difference between jfc & wfc?
What is a function easy definition?
Explain how to convert any java object into byte array.
What are the advantages and disadvantages of object cloning?
Can we declare register variable as global?
Is overriding possible in java?
how can you take care of mutual exclusion using java threads? : Java thread