... files—PackageDataTest.class
and PackageData.class
. The compiler places the two .class
files in the same directory. You can also place class PackageData
(lines 22–30) in a separate source-code file.
Get Java How To Program, Late Objects, 11th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.