Question 10457 – GATE 1992
January 22, 2024GATE 2012
January 22, 2024APPSC-2012-DL-CS
|
Question 17
|
What is the proper way of defining a class named A so that it cannot be subclassed?
|
class A{ }
|
|
|
abstract final class A { }
|
|
|
class A {final;}
|
|
|
final class A { }
|
Correct Answer: D
