Answer Posted / tewodros tesema
yes.actually java suports multiple inheritance
example:
class A{
int a=10;
}
class b extends A{
int b=3;
}
clss c extends b{
int c=a+b;
system.out("result"+c);
}
here calss b in herits a and clas c in herits b the it also
in herits a through b. also since java uses interfaces it
also suports multiple inheritance.
| Is This Answer Correct ? | 2 Yes | 29 No |
Post New Answer View All Answers
Is heap stored in ram?
What is queue in java?
what is the purpose of using rmisecuritymanager in rmi?
If you are given the name of the function at run time how will you invoke the function?
What variables are stored in stack?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
What is the nested interface?
What is final modifier?
What a static class can contains?
What is hash table in java?
What is the difference between stored procedure & function?
What are the advantages of user defined functions?
Write a program to calculate factorial in java?
How to sort a collection of custom Objects in Java?
Explain the difference between map and flatmap stream operation?