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 an empty class? What functionality does it offer in Java?
what is the major difference between linkedlist and arraylist in java?
What do you understand by abstract classes?
Explain the difference between serializable and externalizable in java?
What is the difference between this() and super() in java?
What is object-oriented programming?
What are java annotations?
Which is the best sorting technique in java?
how to write a server program and sending the mails to the server using smtp protocol please help me
Why string is immutable or final in java
How do weakhashmap works?
What is map and hashmap in java?
What are autoboxing and unboxing? When does it occur?
How many times finalize method will be invoked? Who invokes finalize() method in java?
What is java full form?