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
How can we create objects if we make the constructor private ?
Can we use return in constructor?
What is the current version of java?
What happens if an exception is throws from an object's constructor?
If a class is declared without any access modifiers, where can the class be accessed?
Write a function for palindrome and factorial and explain?
Can we declare a static variable inside a method?
What is callablestatement? How you can call stored procedure to pass in parameter?
Do loops java?
How does split work in java?
Explain polymorphism citing an example.
What are Normalization Rules? Define Normalization?
How is it possible for two string objects with identical values not to be equal under the == operator?
What is application tier?
How to convert string to char and vice versa?