explain oops concepts with examples?
Answer Posted / noorjahan .c
OOP'S ~ Itz nothing but Object Oriented Programing
It mainly consist of
1.objects - these are the basic run time antities in object oriented system.They may represent a place,person or a data that the programer has to handle.
2.class - It is a collection of items.Itz decleration is same as of structure.The body of class is enclosed within '{}' & terminated by ';'.The class body contains the decleration of varible &function.
3.Inheritance - It is the process by which object of one class aquire the property of another class.
4.polymorphism - In this an operation may show different behaviour in different instance.
5.Encapsulation - The binding of data & function into a unit called as class n this is known as encapsulation
6.Abstraction - It refers to the act of represending the essential features without including the background details.
7.Dynamic binding - It means that the program code associated with a given procedure call is not known untill the time of call
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the difference between Grid and Gridbaglayout?
How do you initialize an arraylist in java?
What is e in java?
What are sets in java?
Explain the difference between jdk, jre, and jvm?
How does finally block differ from finalize() method?
According to java operator precedence, which operator is considered to be with highest precedence?
Explain wait() method of object class ?
Does java isempty check for null?
What do you mean by boolean?
What is the difference between logical data independence and physical data independence?
What is a dot notation?
What is the old name of java?
Convert a BST into a DLL and DLL to BST in place.
Name few java util classes introduced with java 8 ?