Can you write Java code for declaration of multiple
inheritance in Java ?
Answer Posted / basavaraj
s....u can do....
i think u can do by..
writing innerclass n impementing interface...
class A extends B
{
class test2{
}
}
here, test2 is innerclass which can inherits the properies
of A as well as B...
| Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
Explain ioc concept?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
Which class is the immediate superclass of the menucomponent class?
What is chat area? Explain.
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What is the purpose of the notifyall() method?
Can we sent objects using Sockets?
Is it possible to stop the execution of a method before completion in a sessionbean?
What is a class loader? What are the different class loaders used by jvm?
How is a java object message delivered to a non-java client?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
Is a class a subclass of itself?
What classes of exceptions may be caught by a catch clause?
Can I use multiple html form elements with the same name?
how do you Handle Front End Application data against DB with example?