Answer Posted / prashant khot
class A
{
}
class B extends A
{
public static void main(String args[])
{
B b = new B();
}
}
In the above example, B is the class extending the A class.
Means that B is inherited from A.
Is This Answer Correct ? | 26 Yes | 2 No |
Post New Answer View All Answers
What is the final variable?
What is multithreading and its advantages?
What is stored procedure. How do you create stored procedure ?
What do you understand by garbage collection in Java? Can it be forced to run?
What is logical variable?
Can static methods be inherited?
What are the main concepts of oops in java?
How do you invoke a method?
What is the differences between heap and stack memory in java? Explain
Explain throw keyword in java?
What is subsequence of a string?
What is a super method?
How many decimal places is a double?
If two threads have same priority which thread will be executed first ?
Can you tell me range of byte?