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
enlist some features of jdk.
What is visibility mode?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
What is defined as false sharing in the context of multithreading?
What is a function in programming?
What is meant by JVM? Is JVM platform independent or not?
How do you include a string in java?
What is use of map in java?
What is array command?
What are inbuilt functions in java?
What is void in java?
What methodology can be employed to locate substrings inside a string?
Give reasons supporting that string is immutable.
How can we pass argument to a function by reference instead of pass by value?
What does business logic mean?