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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data type example?

963


What is the super void?

902


What is function declaration?

964


What is the basic of java?

1025


How do you classify Dialog Box?

1121


What is method overloading in JAVA? Why is it not present in C ?

1103


What best practices should you follow while writing multithreaded code in java?

1074


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

2134


Compare Mutex and Semaphore in java.

1005


Can a list be null in java?

1050


Explain the overview of UDP messaging.

1129


What is meant by method?

1106


What is hashtable and explain features of hashtable?

989


What is map in java?

1008


Can you instantiate the math class in Java?

1092