can you create interface instance ?
Answer Posted / swati
we can't create instance of an interface..
but we can create reference of interface, which can refer
to upcoming object of the class who implements that
interface..
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the difference between compare and compareto in java?
What is t type java?
What exactly is a .class file?
What is use of a abstract variable?
What is a stringbuffer?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What is an empty list in java?
How many types of gc are there in java?
what is aggregation in java?
What is meant by polymorphism?
Why webdriver is an interface?
If a variable is declared as private, where may the variable be accessed?
Write a program to print the pattern given below
What's the default access specifier for variables and methods of a class?
Is there any tag in htm to upload and download files?