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 is the use of parse function in java?

977


What are loops in java? What are three types of loops?

1031


What is the size of boolean variable?

1072


Can You Have Virtual Functions In Java?

1144


What is the memory leak in java?

1029


Should a main method be compulsorily declared in all java classes?

1059


What is anti pattern in programming?

966


Write a program to print the pattern given below

930


How to sort an array from smallest to largest java?

980


What about main thread in java?

1116


What does function identity () do?

957


What does jre stand for?

1059


How do you declare an empty string?

1060


What are abstract classes and anonymous classes?

1072


What is the java reflection api? Why it’s so important to have?

978