What are Encapsulation, Polymorphism and Inheritance?
Answer Posted / janet
Encapsulation is the mechanism that binds together
code and data it manipulates and keeps both safe from
outside interface and misuse.
Inheritence is the process by which one object
acquires the properties of another object.
polymorphism is the feature that allows one
interface to be used for general class actions.
Is This Answer Correct ? | 53 Yes | 7 No |
Post New Answer View All Answers
What is the difference between stream and buffer?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
What are data structures in java?
Which are different kinds of source code?
What is the difference between sleep and wait in java?
What is the default size of load factor in hashing based collection?
What are the types of sockets in java?
What do you mean by aggregation?
What are the differences between stringbuffer and stringbuilder?
what are the states associated in the thread? : Java thread
What are loops in java? What are three types of loops?
What is getkey () in java?
Is intellij better than eclipse?
What is the meaning of immutable regarding string?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?