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 does it mean that a method or field is “static”?

1048


How many types of exception can occur in a java program?

1047


Can a string be null?

1053


What is fundamental datatype?

1064


Is it possible to compare various strings with the help of == operator?

1068


Why java is made?

1032


Is a char always 1 byte?

1055


Why do we need singleton?

1026


Highest level event class of the event-delegation model?

4079


What is the purpose of the wait(), notify(), and notifyall() methods in java programming?

1152


Describe what happens when an object is created in java ?

1084


Why do we need variables?

1040


What are thread priorities and importance of thread priorities in java?

1245


Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

1136


What is the meaning of find and replace?

1082