0 votes
in JAVA by

Is the following class declaration correct in Java?

1 Answer

0 votes
by

public abstract final class testClass {

// Class methods and variables

}

The above class declaration is incorrect as an abstract class can’t be declared as Final.

Related questions

0 votes
asked May 21, 2020 in JAVA by GeorgeBell
+2 votes
asked Jun 2, 2020 in JAVA by Indian
...