Explain inheritance in java?
Answer / Pradeep Singh
Inheritance in Java is a mechanism where one class acquires the properties (methods, variables) of another. The class that inherits the properties is called the subclass or derived class and the class that has its properties inherited is called the superclass or base class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can applet in different page/s communicate with each other?
What is meant by anonymous class?
Tell me the latest versions in java related areas?
How do you create a reference in java?
What happens if a constructor is declared private?
what do you understand by the term string with respect to java?
can you program for reverse string?
what is the final keyword denotes in java?
How do you detect memory leaks?
What does %d do in java?
What are the new features in java 8?
Can we declare register variable as global?