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
What is the formula to calculate percentage?
How do you convert bytes to character in java?
What is the difference between a local variable and an instance variable?
Can we define package statement after import statement in java?
What is the purpose of the main method?
What is oop in java?
Which is bigger float or double?
Mention some features of java?
What is method overloading and method overriding?
Is java pass by value or pass by reference?
How many types of keywords are there?
Explain the difference between hashmap and hashtable in java?
How do you sing an Applet ?
Can a method be overloaded based on different return type but same argument type?
What is use of super keyword in java?