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


Please Help Members By Posting Answers For Below Questions

difference between  ejb,struts,hibernate,spring and jsp

2300


Which are the different segments of memory?

593


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

565


How to deploy Jar, War files in J2EE?

2169


What is a tasks priority and how is it used in scheduling?

545






Explain what is synchronization?

572


What is a modular application?

588


Is the ternary operator written x : y ? Z or x ? Y : z ?

635


What is the difference between RMI and Corba?

2255


What happens when a thread cannot acquire a lock on an object?

535


What is the difference between the string and stringbuffer classes?

543


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

581


How to determine SGA site?

1906


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

1630


What’s jboss jbpm?

576