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
Is constructor inherited?
Is array serializable java?
What is blank final variable?
How do you add an arraylist to an array in java?
Explain the difference between protected and default access.
What is split return?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
How do you write methodology?
What is the difference between static and non-static variables in java programming?
Write a program to find maximum and minimum number in array?
why an outer class cannot be declared as private?
Do you know how to reverse string in java?
Explain when we should make an instance variable private.
What is meant by class?
Why do we use predicate in java?