"We cannot create an object of interface but we can create a
variable of it". Discuss the statement with the help of an
example.
(Plz help us to provide immediately.)
Answer Posted / simran
ur program defintly right but i cannot understand theory
write by u.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What will be the initial value of an object reference which is defined as an instance variable?
When should I use a singleton?
Explain how to force the garbage collection in java.
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
What is covariant return type?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What happens when a thrown exception is not handled?
Can arraylist hold different types java?
Why array is used in java?
What is object in java?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
Is 0 a prime number?
what is meant wrapper classes?
What is identifier give example?
What is the difference between the boolean & operator and the && operator in java programming?