explain the concept of inheritance with an example?
Answer Posted / kk
Inheritance is the process of extending the properties of super class to sub class(methods and variables) if required overriding the properties(methods)
eg...
child having(extended) the Characters(Behavior) of father.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What are different types of multitasking?
Is simpledateformat safe to use in the multithreaded program?
What is set string?
How do you declare an empty string?
What are the main uses of java?
What are the differences between getting and load method?
How do weakhashmap works?
What package is math in java?
Explain the concept of hashtables?
What are the supported platforms by java programming language?
Can we declare an array without size in java?
What are the 6 mandatory procedures for iso 9001?
Can we extend singleton class in java?
What is the difference between Java and C++?
What is difference between filereader and bufferedreader?