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 a class can implement an interface?

Answer Posted / mayuri wankhade

without using implements clause it is also possible to use
interface by creating object of an interface in the class
containing main method like :

nameOfInterface Obj = new nameOfInterface()
{
implement a method declared in an interface
};
Obj.MethodName();

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is compiler and what its output.

1084


Why strings in java are called as immutable?

950


What is use of set in java?

937


What is stream api in java8?

1085


What is a vararg?

969


How do you implement tree mirroring in java?

1023


What is tcp and udp?

956


Can java inner class be static?

980


What do you understand by java?

928


What are new features introduced with java 8 ?

942


How to invoke external process in java.

1026


What is the platform?

954


What is the benefit of singleton pattern?

936


Is it necessary for the port addresses to be unique? Explain with reason.

977


What is the use of coding?

921