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
Can we change the value of static variable?
What isan abstract class and when do you use it?
Is string a class?
Is intellij better than eclipse?
What is the gregoriancalendar class in java programming?
What environment variables are required to be set on a machine in order to run Java programs?
What is passing parameters in java?
What is mean by exception?
How do you access command-line arguments within the code?
What is backdrop?
What are the basic interfaces of java collections framework?
What is static keyword?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
What is the difference between throw and throws keywords?
What is a boolean expression in java?