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 are abstract functions?
Tell me how many ways are there to initialise an integer with a constant.
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
What are some alternatives to inheritance?
How do I find and replace in word?
If you are given the name of the function at run time how will you invoke the function?
What are the types of arrays in java?
What restrictions are placed on method overriding?
How dead lock situation occurs in java and how you can identify it?
Which collections are thread safe in java?
How will you serialize a singleton class without violating singleton pattern?
What is a singleton factory?
What is a null point?
Where is core java used?
What are dot operator queries?