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
Can we declare the main method of our class as private?
Can we create an object of static class in java?
What is use of inner class in java?
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.
What causes memory leaks in java?
how to handle exceptions in ejb?
Can we sort array in java?
What are the main uses of this keyword?
Give few examples of final classes defined in Java API?
What is update method called?
What are recursive functions? Give some examples?
How do you replace all in word?
How a string is stored in memory?
Can we access the non-final local variable, inside the local inner class?
What is jvm? Why is java called the platform independent programming language?