can you create interface instance ?
Answer Posted / devir
No,we cannot create an instance for interface
| Is This Answer Correct ? | 74 Yes | 26 No |
Post New Answer View All Answers
How objects of a class are created if no constructor is defined in the class?
How static variable work in java?
What are the types of methods in java?
What is the latest version of java?
What are the kinds of polymorphism?
What are some alternatives to inheritance?
What is foreach loop in java?
What is an example of a conditional statement?
What are the two environment variables that must be set in order to run any java programs?
How many types of parsers are there?
Explain about OOPS concepts and fundamentals.
what is instanceof operator used in java?
How can we create an immutable class in java?
Write a program to solve producer consumer problem in java?
What are the data types supported by java? What is autoboxing and unboxing?