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 minimum and maximum length of an identifier?

6 Answers   TCS,


What are streams?

0 Answers  


Why does it take so much time to access an applet having swing components the first time?

0 Answers  


Where will it be used?

0 Answers  


Which sorting is best in java?

0 Answers  


What is volatile keyword in java

0 Answers  


java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?

1 Answers   Naaptol,


How does queue work in java?

0 Answers  


real time example for deadlock,starvation,livelock

5 Answers  


What do you mean Abstraction in java?

0 Answers   Aspire, Infogain,


Explain pass by reference and pass by value?

8 Answers   IBM, Wipro,


What is OOP's Terms with explanation?

0 Answers  


Categories