Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can we declare the main method of our class as private?

947


Can we create an object of static class in java?

968


What is use of inner class in java?

1036


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.

2666


What causes memory leaks in java?

872


how to handle exceptions in ejb?

2259


Can we sort array in java?

888


What are the main uses of this keyword?

995


Give few examples of final classes defined in Java API?

1112


What is update method called?

1089


What are recursive functions? Give some examples?

1121


How do you replace all in word?

989


How a string is stored in memory?

955


Can we access the non-final local variable, inside the local inner class?

963


What is jvm? Why is java called the platform independent programming language?

946