Does Java support multiple Inheritance?

Answer Posted / gyana

No actually java doesn't support multiple inheritance.But
we can use this by using Interface in java.

for example Class x,implements y, implements z.

here x is the main class and the two interface y and z
implements it in its program.y and z are two interfaces not
classes.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what state does a thread enter when it terminates its processing? : Java thread

592


How objects are stored in java?

544


What is data member in java?

498


What is a null point?

553


What is anti pattern in programming?

494






Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

2276


What is a literal coding?

508


What is string :: npos?

573


What is object data type?

560


What is the purpose of assert keyword used in jdk1.4.x?

556


23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.

2050


Can you call a method in a method?

525


What is the difference between preemptive scheduling and time slicing?

581


How do I start learning java?

555


Is simpledateformat safe to use in the multithreaded program?

537