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...


When we give defination of interface method in the class why
method must be public???

Answers were Sorted based on User's Feedback



When we give defination of interface method in the class why method must be public???..

Answer / pradeep singh

because class which implements the interfaces if the
access modifiers are protected or private then we can not
override this metods. somethos must be publicand java there
is notmultiple inheritance

Is This Answer Correct ?    7 Yes 1 No

When we give defination of interface method in the class why method must be public???..

Answer / prakash

all methods in interfaces are public by default...

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More Core Java Interview Questions

What is functional interface in java?

0 Answers  


What is double word?

0 Answers  


Can we have this () and super () together?

0 Answers  


What is the protected method modifier?

0 Answers  


Explain the difference between getAppletInfo and getParameterInfo?

1 Answers  


Why constructor has no return type?

0 Answers  


What are the kinds of polymorphism?

0 Answers  


What are different types of arrays?

0 Answers  


What is a java object and java application?

0 Answers  


When finally clause is executed?

3 Answers  


What does opcode mean?

0 Answers  


What are the major drawbacks of external iteration?

0 Answers  


Categories