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 / guest

Hi all,

I think Udaya is right and i have tested in the same and its
working. But if you think about the way JAVA has to make
instances(e.g. A a = new A()) will not work. It will give
you compilation error. So there is something we are not able
to see. Even I am trying to get what this example actually
working.

Feel free to update me if I am wrong...&#9786;

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main uses of the super keyword?

921


What is the difference between compile-time polymorphism and runtime polymorphism?

934


Why does it take so much time to access an applet having swing components the first time?

1873


What is an immutable object? How do you create one in java?

1011


How is a structure different from array ?

992


How do you check if an arraylist is not empty?

1055


What is final int?

948


Explain oops concepts in detail?

968


Can we override private constructor in java?

911


In java, how many ways you can take input from the console?

930


Can we override constructor in java?

1042


What is used of static keyword in java?

1002


What is the difference between a vector & an array list?

1104


Is main an identifier?

945


What is use of a abstract variable?

925