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
What is the intersection and union methods?
How do you pass by reference?
What does %d do in java?
How can I right-justify a string?
What is sizeof in java?
What are the different ways of creating thread?
What does java ide mean?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
What is a flag value?
Explain where variables are created in memory?
What is meant by class and object in java?
How many types of voids are there?
Explain the concept of hashtables?
What are jee technologies?
What are thread priorities and importance of thread priorities in java?