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

How a class can implement an interface?

Answer Posted / asrinivas rao

In java a class can implement interface using "implemnts"
keyword.the methods defined in the interface need to be
implemented in the class which implments the respective
interface,otherwise the class becomes has an Abstract class.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of exception handling?

1058


What is polymorphism java example?

1005


Explain java coding standards for interfaces?

1100


What is the purpose of final keyword and when to use it?

997


What does java final mean?

1024


which pattern is default in scanner package?

2225


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

1609


What is the difference between equals() and?

1186


Is main an identifier?

1002


What is return null in java?

947


Give us a program to check for parenthesis matching using stack.

991


I want to persist data of objects for later use. What is the best approach to do so?

1048


Why java is said to be pass-by-value ?

1033


What is the primary benefit of encapsulation?

1079


Can we have 2 main methods in java class?

1012