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
What is the purpose of the strictfp keyword?
What do you mean by an object in java?
How java enabled high performance?
Is java platform independent?
I want to print “hello” even before main is executed. How will you acheive that?
Which number is denoted by leading zero in java?
What do you know about java?
Why set is used in java?
why would you use a synchronized block vs. Synchronized method? : Java thread
Give the difference between the println method and sqrt method?
How do listeners work?
What is Session reduplication and how its done?
Is static variable stored in heap?
What is the name of the java compiler?
What are class members by default?