Answer Posted / karthik
"Can some one explain about this case.
-> A is a super class and B extends from A.
-> java.lang.Object is super class for all classes.
now in this case B extends from A and B extend from java.lang.Object(because is default super class) then it is multiple inheritence right? "
Mr Suresh Aelidhe,
If a class extends any other class then it wont extends Object class
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we use string in the switch case?
Write a java program to check if a number is prime or not?
Why do I need to declare the type of a variable in java?
What is the difference between a vector & an array list?
What are the rules for variable declaration?
What is a function easy definition?
What are the 8 data types in java?
What are autoboxing and unboxing? When does it occur?
What is math in java?
What is array sorting in java?
Why char array is favored over string for the storage of passwords?
What is the difference between size and length in java?
what do you mean by classloader in java?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
What is a local, member and a class variable?