Answer Posted / raghav
An abstract class is of no use if it cannot be sub classed
because instances of an abstract class cannot be created.
Moreover a class declaration with abstract and final will
not compile at all and when ever a class is marked final,the
properties cannot be extended
| Is This Answer Correct ? | 21 Yes | 5 No |
Post New Answer View All Answers
Why singleton is not thread safe?
How do you check if a string contains only numeric digits?
What is scope & storage allocation of static, local and register variables? Explain with an example.
What is io stream in java?
What about instanceof operator in java?
Why main() method is public, static and void in java ?
String class is defined under which package in java?
How the interruptible method gets implemented?
What is the instance of an object?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
Can you pass functions in java?
How will you load a specific locale?
Write a program to find maximum and minimum number in array?
What’s the difference between the methods sleep() and wait()?
Can an unreferenced object be referenced again?