Page 1 of 1

[HD-OCP17/21-Fundamentals Pg 0, Sec. 1.10.5 - running-a-single-file-source-code-program]

Posted: Sun Nov 17, 2024 11:52 am
by tippfelher
This post is intended for informational purposes only.

The section states that if you run a java program using "java TestClass.java" then TestClass must not refer to other Java files.

This is correct for Java 21 (which the book covers) but no longer true for Java 23 (which the book does not cover yet).

https://github.com/tippfelher/ocp-prep/tree/main/1.1

Re: [HD-OCP17/21-Fundamentals Pg 0, Sec. 1.10.5 - running-a-single-file-source-code-program]

Posted: Mon Nov 18, 2024 12:20 am
by admin
Thank you for the info :thumbup: