explain oops concepts with examples?
Answer Posted / nagesh
OOP is Nothing but Object Oriented Programming.
In OOPs concept is implimented in our real life systems.
OOPs have following features
1. Object - Instance of class
2. Class - Blue print of Object
3. encapsulation - Protecting our data
4. polymorphism - Different behaviors at diff. instances
5. abstraction - Hidding our irrelavance data
6. inheritence - one property of object is aquring to
another property of object
7.Message Passing:message passing is possible from one
object to another
8.Robust and Secure: every object is strong one.
every object is secure one with their access specifiers.
| Is This Answer Correct ? | 97 Yes | 37 No |
Post New Answer View All Answers
Is there any tag in htm to upload and download files?
How many ways can we create the string object?
How does a for loop work java?
Is empty string in java?
What does s mean in regex?
What’s the difference between callable and runnable?
What is difference between final and finally in java?
What do you mean by buffering?
What is the history of java?
What is the latest version of java?
Can we have any code between try and catch blocks?
What is finalize method?
What does a void function return?
Explain restrictions for using anonymous inner classes?
How many bytes is a char in java?