Why java Don't Support Multiple interitence
Answer Posted / sanjeev
Why cant we face same ambiguity when we declare variables?
interface A{
int i = 10;
}
interface B{
int i = 20;
}
Class C implement A, B{
what is the value of C.i?
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of static class?
What is a data structure java?
What is nextline method in java?
What is the difference between preemptive scheduling and time slicing?
What is multi-catch block in java?
What is the difference between length and size in java?
What are the super most classes for all the streams?
What do you mean by data type?
What initialize variables?
What is difference between variable declaration and definition?
Explain about instanceof operator in java?
What is formatted output in java?
Explain an algorithm to find depth of a binary tree.
Is java 11 paid version?
What is java util collection?