explain the concept of inheritance with an example?
Answer Posted / ackrao
Deriving the properties of one class in to another class is called as inheritance.
Existing class is base class and new class is derived class.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many bits is a word?
How can you say java is object oriented?
What is the disadvantage of synchronization?
What are the differences between stringbuffer and stringbuilder?
Is the milky way in a void?
What is null statement?
What does n mean in java?
Why singleton pattern is better than creating singleton class with static instance?
What is the order of arraylist in java?
Is java good for beginners?
How do weakhashmap works?
What is oops in java?
What is %d in printf?
What is the use of using enum to declare a constant?
What are locale settings?