explain the concept of inheritance with an example?
Answer Posted / kush singh
Inheritance is a process of inheriting members and member functions of a particular class. This means one class can use the data members and functions of another similar class. This reduces efforts as similar data members or functions do not need to be declared again and again.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
What is a Hash Table? What are the advantages of using a hash table?
enlist some features of jdk.
What technique is carried out to find out if a particular string is empty?
What is the difference between length and length() method in java?
What is the purpose of checked and unchecked exceptions in JAVA?
How do you achieve polymorphism in java?
How to use Media tracker Class.
What is complexity and its types?
How many types of operators are there?
Explain different types of thread priorities ?
What are the two ways of implementing multi-threading in java?
Why string is called as immutable?
How can you read content from file in java?
How do you escape in java?