Answer Posted / ranganathkini
No a class cannot be marked "abstract" as well as "final".
Marking a class "abstract" means it contains partial
implementation of methods and hence depends on its
subclasses to provide concrete implementation.
Marking the class "final" means that no other class can
extend it and hence abstract classes cannot be marked final.
| Is This Answer Correct ? | 173 Yes | 15 No |
Post New Answer View All Answers
What is meant by string is immutable?
Can we instantiate interface in java?
Why java is secure? Explain.
Write a program to check for a prime number in java?
What are the disadvantages of using inner classes?
Explain java coding standards for classes or java coding conventions for classes?
What are the various access specifiers for java classes?
What is the same as procedures?
What are access specifiers in java ?
What is singleton class example?
What is the purpose of declaring a variable as final?
Can you explain inner class.
Explain about interthread communication and how it takes place in java?
Difference between string, stringbuffer and stringbuilder?
What is an object in java?