explain oops concepts with examples?
Answer Posted / ravi kant
oops is a extension of modular approaches of programming..
the basic thing are-:
class-:it is a structure.blueprint,skeleton of the object
object-:it is identities by its unique name,it represent a particular instant of class..
abstraction-:hiding only the unnecessary data.
encapsulation-:protecting our data..
eg-: school bag
inheritance-:it form a new class from the existing class..
parent class inherit the base class.
polymorphism-:it allow routine to use variable of different type at differnt time..
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can you extend singleton class?
What is dot operator?
How do you check if a number is a perfect square?
Will minecraft java be discontinued?
How many types of design patterns are there?
What is stack example?
What does jenkins do?
What is use of set in java?
What is the purpose of the system class in java?
Is java util regex pattern thread safe?
How to declare objects of a class ?
Why can't we make a class private in java?
Can we define private and protected modifiers for the members in interfaces?
Can list be final in java?
What is the difference between call by reference and call by pointer?