Abstract class in Java 5 or previous

I read in a book (Programmez en Java 5 et 6 from Claude Delonne in French) that in Java 5 and its previous versions, if you have an abstract method in a class, then this class is abstract, and it is not necessary to mention the keyword abstractin front of the class.

Is this statement true? I tried to find the Java SE 5 specification, but it is not available.

+4
source share
2 answers

Oracle publishes JLS returning to Java 6: https://docs.oracle.com/javase/specs/ I'm not sure that JLS for Java 5 is available on the Internet.

, , , Java :

(ยง8.4.3.1, ยง 9.4), , , , , .

: , , , .

+2

abstract, abstract , java .

, , .

+7

Source: https://habr.com/ru/post/1614063/


All Articles