Question 10457 – GATE 1992
January 22, 2024
Question 8804 – GATE 2012
January 22, 2024
Question 10457 – GATE 1992
January 22, 2024
Question 8804 – GATE 2012
January 22, 2024

Question 11540 – APPSC-2012-DL-CS

What is the proper way of defining a class named A so that it cannot be subclassed?

Correct Answer: D

A
class A{ }
B
abstract final class A { }
C
class A {final;}
D
final class A { }
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x