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

What is the size of int in 64-bit jvm?

1099


Is string a wrapper class?

1016


Can constructor be protected in java?

967


how to create constants in java?

1084


why java uses class level type casting ?

2665


What is a method declaration?

994


What are the different access modifiers available in java?

1044


Which is faster string or stringbuilder?

927


What package is math in java?

1001


What is the difference between serializable and externalizable interfaces?

1100


Is integer immutable in java?

992


Can inner class be public in java?

1017


What is java autoboxing?

948


What is a singleton factory?

956


What is the main use of java?

1169