explain the concept of inheritance with an example?
Answer Posted / dsr
The base class properties into derived class. This is nown
as inheritance.
example: father and child relation. father properties power
get the child.
| Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Explain the difference between an Interface and an Abstract class?
What is default size of arraylist in java?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
Why call by value prevents parameter value change?
how to run ecllipse with jettyserver for windows environment using batch file
Define max and min heap, also the search time of heap.
Can a hashset contain duplicates java?
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
Why are data types important?
How can an object be unreferenced?
What is application system?
What is the difference between yielding and sleeping in java programming?
What is a variable simple definition?
Where are local variables stored?