can you create interface instance ?
Answer Posted / anil
That it is not creating the instance of the interface. The
class which is there on the right side is called anonymas
call.
It is correct when the statement is as below
Test t =new Test(); he should give the ';' after the
paranthesis not after the '}'.
Please refer anonymas classes for other information how
they works...
| Is This Answer Correct ? | 37 Yes | 1 No |
Post New Answer View All Answers
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
What are class members by default?
What do you mean by aggregation?
What is the meaning of course?
What defines function?
How do you bind variables?
What are constants and how to create constants in java?
What is an example of a keyword?
Is java a digit method?
What is the use of static class?
How do I get a substring?
How can we use primitive data types as objects?
What are the uses of synchronized keyword?
Is void a return type?
Is java programming easy?