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
Can a constructor be made final?
Explain java thread life cycle.
What are different access specifiers in java?
What is Gang of four design patterns
What is the maximum size of a string in java?
What are dot operator queries?
What is java and why do we need it? Explain
Is java a pure object oriented language?
What is the use of :: in java?
Can we have a try block without catch block?
What is the importance of main method in Java?
How can we create a thread in java?
When will you define a method as static?
What is the difference between error and an exception?
Does treeset use compareto?