what are the oops concept in java explain with real time
examples
Answer Posted / niventh mca
1,class
2,encapsulation
3,polymorphism
4,inheritance
5,Abstraction
class
collection of attributes is called class
Real time example......human body
encapsulation
To encapsulate the some methods,operations in one
class is called the encapsulation
Real time example...... capsules
polymorphism
To ability to take more than one form
Real time example...... xerox machine
inheritance
one class properties occur from another class properties
Real time example......land line...will phone....cellphone
2g....3g....
Is This Answer Correct ? | 76 Yes | 34 No |
Post New Answer View All Answers
How do you call a reference in java?
How do I stop concurrentmodificationexception?
What is integer parseint?
What is bytecode in java ?
Which sorting algorithm is best in java?
What is oop principle in java?
Is java a prime method?
Why does java have two ways to create child threads? Which way is better?
How do you create an array in java?
How many bytes is a string?
What is factor r?
what is function overloading in java?
Which of the following is not an isolation level in the JDBC
How to change value in arraylist java?
What is an interoperable application in java ?