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 |
What is the longest unicode character?
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
Are registers volatile?
Is list ordered in java?
Is an empty arraylist null?
why java is better then .net?
How do you override a method in java?
What is gui programming?
What is meant by bytecode?
How do you declare an array in java?
What is annotation in java?
What is number data type in java?