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 difference between Error, defect,fault, failure and mistake?
How do you do math powers in java?
What are the steps involved to create a bean?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
What is better - 'bit-shift a value' or 'multiply by 2'?
What happens if an exception is not handled in a program?
Why string objects are immutable in java?
Why are variables important in research?
Can I learn java in 3 months?
Can we have try block without catch block?
What is a char in java?
What are the different data types in java?
Why local variables are stored in stack?
How do I print a “?
What are accessor methods in java?