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 creating new things by using existing ones
| Is This Answer Correct ? | 2 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 / ravikiran(aptech mumbai)
inheritance is the property of inheriting the properties of
super class to subclass
| Is This Answer Correct ? | 1 Yes | 1 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 |
for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }
What is the maximum size of hashmap in java?
Can an interface implement another interface?
What is application tier?
What is wrapper class html?
Explain when noclassdeffounderror will be raised ?
How can be define MARKER interfce in java
Why do we need singleton?
how we can write the string concatenation program in java.
What is the difference between static method and instance method in Java?
0 Answers SwanSoft Technologies,
What is the purpose of the System class?
What is the use of arraylist in java?