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 mysql driver class name?
Explain about static nested classes in java?
Is space a string in java?
Can a constructor call the constructor of parent class?
how we can create packages in java?
what are synchronized methods and synchronized statements? : Java thread
What is the difference between a factory and abstract factory pattern?
How do you check whether the list is empty or not in java?
difference between byte stream class and character stream class?
What is polymorphism and what are the types of it?
Explain the private protected method modifier?
What are the steps that are followed when two computers connect through tcp?
What happens if we override private method?
Can a private method of a superclass be declared within a subclass?
How can we make copy of a java object?