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 local declaration?

1042


How many types of array are there?

1056


Why hashset is used in java?

1122


How do you define a method?

1042


Why is stringbuffer called mutable?

1047


How does indexof work?

1014


What is valid keyword in java?

1050


What is the base class of all classes?

1110


What is the main purpose of java?

1161


What is the largest data type in java?

1026


What is structure of java heap? What is perm gen space in heap?

1193


Enlist few advantages of inheritance?

1136


What is the difference between serial and throughput garbage collector?

1162


Can a class be private in java?

1050


What is the difference between static class and normal class?

1088