|
Kelly Cookson wrote: > > BTW, Java classes usually start with capital letters and use camel case. For > example, String is the name of a class, and HelloBigWorld is the name of a > class. The 'java.lang.' preceding String in 'java.lang.String' is the path > name where the String class is stored. > "java.lang" isn't really a path name, it's the package structure. String is a class in package lang which is further in package java. The path structure does reflect the package structure, but if you had a class X in directory pkg1.pkg2, it wouldn't be found by referring to it as pkg1.pkg2.X.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.