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 you create interface instance ?

Answer Posted / rushi shah

The above code given by Udaykiran gives the following error even before it is compiled:

Can not instantiate the type 'Test' type.

Which means that we can not create any object of interface.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What state does a thread enter when it terminates its processing in java programming?

1051


What is the difference between this() and super() in java?

1052


How will you reverse a singly-link list?

1011


What is a singleton in genetics?

1079


What is meant by JVM? Is JVM platform independent or not?

1081


What is purpose of applet programming?

1191


when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

2163


How do you override a method in java?

1014


Explain the selection sort algorithm?

1066


How strings are created in java?

1046


what is bmg file and how to create that files?what will it contailn?

2355


What is generic type?

1037


What is the difference between the ">>" and " >>>" operators in java?

988


What is the use of isempty in java?

1032


How does linkedhashmap work in java?

1028