Answer Posted / naveen
abstract and final are java modifiers. abstract is applied
to only class and methods.If class is abstract we cannot
instantiated of the class.If method is abstract it cannot
have body.abstract class contains concreate methods and
abstract methods.
final is a java modifier . It can be applied to class ,
variables, methods.If class is final we cannot inherited the
class. If variable is final we cannot change the value of
the variable. If method is final we cannot override that method.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Why string is called as immutable?
What is ide with example?
What are the procedures?
Write the algorithm to check the number non-leaf nodes in a tree.
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
How many ways can you break a singleton class in java?
How do I type unicode?
What is import java util arraylist?
Can we start a thread twice in java?
What is jee6?
Java is pass by value or pass by reference? Explain
What is an example of procedure?
What about static nested classes in java?
What is difference between classpath and path variables in java?
What is numeric data type?