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 concept of multithreading?
How many bits is a double?
Is nullpointerexception checked or unchecked?
Why stringbuilder is not thread safe in java?
Can you inherit from an abstract class java?
Explain the use of shift operator in java. Can you give some examples?
Why java is used everywhere?
Tell me the latest versions in java related areas?
How java is similar to c?
Does a class inherit the constructors of its superclass in java programming?
What language is pass by reference?
How do I start learning java?
Why are the destructors for base class and derived class called in reverse order when the program exits
Does anyone still use java?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain