What is inheritance?
Answers were Sorted based on User's Feedback
Answer / janet
Inheritence is the process of inheriting all the features
from a class. The advantages of inheritence are reusability
of code and accessibility of variables and methods of the
super class by subclassses.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / guest
the process of reusing the existing components to develop
new things
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
the process of creating new things by using existing ones
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
inheritance is the property of inheriting the properties of
super class to subclass
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / umesh yeware
Inheritance is the key feauture of object oriented
programming in which you can aquire some or all the
properties of one class into the other class by ihheriting
it
Is This Answer Correct ? | 0 Yes | 0 No |
there are some duplicate values in ArrayList, how U'll get that array with out duplicate?
What is the use of math abs in java?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What is the return type of a program?s main() method?
How do you write a scanner class in java?
Why do we use predicate in java?
Which is best ide for java?
What is the concatenation operator in java?
Write a program to solve producer consumer problem in java?
What is replacefirst in java?
What access modifiers can be used for variables?
What is finally in exception handling?