Answer Posted / venkateswararao
No,we cant create an instance if an interface in java , but
we can create a reference of an interface and we can
assign the object of a class to that interface reference.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain about OOPS concepts and fundamentals.
Can we make constructors static?
What is a newline character in java?
What is default size of arraylist in java?
Which is better stringbuffer or stringbuilder?
What is the symbol for line break?
What is assembly language?
What are the main uses of java?
what do you mean by classloader?
What is a method header?
What does localhost mean?
How do you start a thread?
Is string is a class in java?
What is the difference between a method and a procedure?
Is empty string in java?