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 a byte array?
How to set the permissions to a file in java?
What is the byte range?
Explain the advantages of packages in java?
What is stringreader?
How do you declare an array that will hold more than 64KB of data?
What are internal and external variables?
How do you find the independent variable?
What modifiers are allowed for methods in an interface?
Can a private method be declared as static?
If try block is successfully executed, Then Is Finally block executed?
what state does a thread enter when it terminates its processing? : Java thread
What is annotation in java?
Explain about features of local inner class?
What is the difference between yielding and sleeping?