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...

can we create instance for interface in java?

Answer Posted / jyotisubhra ghosh

You can not instantiate an interface,however, u can create
its reference variabe.

You can just assign an object of a class (implementing the
interface) to the reference variable of the interface.

Is This Answer Correct ?    50 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me about your ability to work under pressure

2198


Is java a virus?

961


What is the same as procedures?

988


How does java pattern compile work?

969


Why java is called not pure object oriented language?

1026


How does multithreading take place on a computer with a single cpu?

1009


What are the wrapped, classes?

1058


What is the difference between import java.util.date and java .util?

1057


Explain different types of wrapper classes in java?

1027


Write a program in java to establish a connection between client and server?

972


Difference between operator overloading and function overloading

1073


How to change the priority of thread or how to set the priority of thread?

1040


What are inbuilt functions in java?

1090


What methods are used to get and set the text label displayed by a button object?

1018


How do generics work in java?

1036