what are the different access specifiers that can be used
by interfaces and abstract classes? can anyone give me
detailed description on this
Answer Posted / malay tripathi
I guess if members of interface are declared final then
they can't be overridden & hence this hampers the logic
behind having interfaces...
Interface can only be Public/Default or abstract.In any
other case it can't be overridden & hence of no use.
MemberFunctions also behave similarly.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
How do you sort arrays in java?
Difference between java and javascript
Are arrays immutable in java?
What is Java Package and which package is imported by default?
What is a dot notation?
Which arithmetic operations can result in the throwing of an arithmeticexception?
What is the difference between size and length in java?
What method is used to specify a container's layout in java programming?
What is the difference between menuitem and checkboxmenu item?
Can we overload the methods by making them static?
When should I use stringbuffer?
What are kinds of processors?
what is meant by Byte code concept in Java?
What does a boolean method return?
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.