explain oops concepts with examples?
Answer Posted / nirmal kumar
Abstraction: is hiding irrelevant of data
object: Instance of class
class: Blue print of object
polymorphism: different function with different parameter
interface:is semantically related to abstract
members,members by public default.
Encapsulation: capsule with data and object
inheritance: Base class derived from another class
| Is This Answer Correct ? | 26 Yes | 11 No |
Post New Answer View All Answers
Explain what are final variable in java?
What are the various access specifiers for java classes?
Explain restrictions on using enum?
What are the differences between throw and throws?
When do we use synchronized methods in java?
What the difference is between execute, execute Query, execute Update?
What is the string function?
Which is fastest collection in java?
What is join () in java?
How to provide security in java
when you will synchronize a piece of your code? : Java thread
What is the size of integer?
Is vector thread safe in java?
Explain what do you mean by functional overloading in java?
Explain about join() method?