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
Explain working of call by reference function invoking.
How do I remove a character from a string in java?
What is the use of arraylist in java?
what happens when a thread cannot acquire a lock on an object? : Java thread
Can java inner class be static?
How do you detect memory leaks?
What is static variable with example?
What’s the difference between constructors and other methods?
What is the difference between hashmap and hashtable? What is an interface?
What is the default value of the local variables?
What is set and get methods in java?
What is a two-pass assembler?
What is the function of log?
what is the purpose of the runtime class?
How to find the index of the largest number in an arraylist java?