what are the oops concept in java explain with real time
examples
Answer Posted / madhu
Inheritance defining a new class by using the member of existing class..e.g main class vehicle
sub classes can extend vehicle like car,bike,auto cos car, bike ,auto are belongs to vehicle so they can extend using vehicle..
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What the difference is between execute, execute Query, execute Update?
What is use of valueof () in java?
How to change the priority of thread or how to set the priority of thread?
What is append function?
What do you mean by ordered and sorted in collections in java?
Which method returns the length of a string?
What is string substring?
Differences between C and Java?
What are the classes of java?
How does thread synchronization occurs inside a monitor?
Can we have multiple classes in single file ?
what are different ways in which a thread can enter the waiting state? : Java thread
How do you reverse a string in java without using string buffer?
What do bitwise operators do?
Can I override protected method in java?