whats is inheritance?
Answers were Sorted based on User's Feedback
Answer / reddy
Inheritance is the process of acquiring the properties from
super class to sub class.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / raja
Inheritence is the process of creating a new class from
an existing class. The new class may access the all the
data members in the parent class. The new class is called
sub class. The existing class is called super class or base
class..
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / shalini
Inheritance is the process of acquiring the properties of
one class to another class.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / neelam
inheritance is a process one object acquires the property
of another object.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / sathish
Inherritance is an concept of Reusability.
We can access the all the properties of the base class from
the sub class
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikiran
inheritance is the property of inherting the properties of
super class in it's sub class
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / karunakaran
Acquiring the properties of one class from another class in
inheritance.Here the class which is being acquired is
called as super class and the class which does acquiring is
called as sub class.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / mallesh
Inheriting(getting,taking into,Proccessing) the members of a
class into another class without rewritting them is called
Inheritance.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / janardhan
inheritance means producing new class from an existing class.
ex: public class Student extends Teatcher{}
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / vasanthi
Inheritance is the process of acquiring one object to
another object.
| Is This Answer Correct ? | 0 Yes | 0 No |
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
Write a java program to count the number of words present in a string?
How to send a request to garbage collector?
what is web.xml?and its use?
can rmi and corba based applications interact ?
how does multithreading take place on a computer with a single cpu? : Java thread
What is the benefit of using enum to declare a constant?
How variables are stored in memory?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion
What is an anonymous class in java?
What is the difference between break and continue statements?
What is the advantage of OOP in java?