Is java supports multiple inheritance? explain?
Answer Posted / vivek dubey
NO java supports Multilevel Inheritance and
not the Multiple Inheritance
Multilevel Inheritance
class A{
}
class B extends A{
}
class c extends B{
}
Multiple Inheritance
class c extends A,B{ // nOt supported
}
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
Is a boolean variable?
What are heterogeneous objects?
Is it possible to override the main method?
Is linked list a linear or non-linear data structure?
How can you read an integer value from the keyword when the application is runtime in java? example?
What is the purpose of static methods and static variables?
Explain about strings in java?
What string is utf8?
What is singleton class and how can we make a class singleton?
What is the best definition for data?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
What is difference between length and length() method in java ?
what is method reference in java 8?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
What is an example of a conditional statement?