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 are parameters used in functions?

982


what is instanceof operator used in java?

1020


What do you know about the garbate collector?

999


Does variable declaration allocate memory?

1020


What is json parser in java?

1040


Write a program to print 15 random numbers using foreach of java 8?

913


Why does abstract class have constructor?

981


What is the difference between multitasking and multithreading in Java

1167


How can a gui component handle its own events in java programming?

1025


Which oo concept is achieved by using overloading and overriding?

996


What means public static?

1025


How listener identify that the event came from a particular object?

1981


Can we create our own daemon thread?

965


Can we clone singleton class in java?

943


How arrays are stored in memory in java?

964