Answer Posted / ram
Abstract class have the constructor in it just to instantiate its instance variables. Where as Interfaces are not containing any instance variables. That is why, they dont have constructor concept.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is meant by method?
What is the purpose of the return statement?
Explain the term virtual machine?
how to deploy tomcatserver to weblogic server? write d following steps?
Is ++ operator thread-safe in java?
Difference between this() and super() in java ?
What's the difference between int and integer in java?
What is double parsedouble in java?
Is class forname reflection?
What is split return?
What are the uses of synchronized keyword?
Can constructor be synchronized?
Can we convert stringbuffer to string?
What is covariant return type?
Can an interface have a class?