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 do you relate a Interface to a Class? Tell me in
Detail?

Answer Posted / s.thirunavukarasu

with the help of implementing interface,we can relate a
interface to a class.
for example
interface firstone
{
public void display();
}
class myprm implements firstone
{
public void disply()
{
system.out.println("welcome to java world");
}
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why Java does not support multiple inheritances?

1113


Why do we need hashset in java?

982


What is api data?

944


What are the escape sequences in java?

978


what do you understand by synchronization? : Java thread

938


Can we able to pass objects as an arguments in java?

963


What are the types of literals?

1084


Can we override constructor in java?

1040


What is == mean?

933


How java enabled high performance?

1001


What is meant by stack and queue?

985


What is the use of generics? When was it added to the Java development Kit?

962


Write an algorithm for quick sort?

965


What is volatile keyword in java

1069


Explain the difference between hashmap and hashtable in java?

885