class a extends b
{
}
class b extends a
{
}

why java doesn't support cyclic pls explain me with example

Answer Posted / anandhi

java is nt support multiple inheritance... so we have go to
nxt level interface program... we will use interface
concept then this pgm possible

Is This Answer Correct ?    1 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why put method is used?

523


How many bytes is a string in java?

527


What is java in layman terms?

523


What is an example of declaration?

519


How to find the largest value from the given array.

522






What is the difference between static and non-static variables in java programming?

517


Which package has light weight components in java programming?

673


How to reverse a string in java?

520


Is there any difference between synchronized methods and synchronized statements?

582


What are the differences between string, stringbuffer and stringbuilder?

518


How will you print number in reverse (descending) order in BST.

576


What are unchecked exceptions in java?

610


Why do you canvas?

607


What is java and why do we need it? Explain

581


What are the restrictions imposed by a Security Manager on Applets?.

2061