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
How will you reverse a link list without using recursion?
How do you input a string in java?
how does the run() method in runnable work? : Java thread
What is Major and importance difference between for and foreach loop ?
Where are the local variables stored?
What is the meaning of nullable?
What is argument in java?
Explain about fail safe iterators in java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
Write a program to reverse a number in java?
Can you call a method on a null object?
What does regex mean?
How thread scheduler schedule the task?
Define array. Tell me about 2-D array.
What are register variables what are the advantages?