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 the use of abstract class and interface with example?

2 Answers   Cycore, DNS, Technoram,


What is run time allocation?

0 Answers   Fidelity,


What is a Transient Object?

0 Answers   InfoAxon Technologies,


Explain about static nested classes in java?

0 Answers  


WHAT IS JDK,JVM,CLASS DEFINE ALL?

2 Answers  


Why are strings immutable in Java?

1 Answers  


What does localhost mean?

0 Answers  


What does java ide mean?

0 Answers  


What are the disadvantages of object oriented programming?

0 Answers  


how to deploy tomcatserver to weblogic server? write d following steps?

0 Answers  


What is difference between c++ and java ?

0 Answers  


What are order of precedence and associativity, and how are they used?

1 Answers  


Categories