Java Code Conventions - Oracle
JavaCode ConventionsSeptember 12, 1997iiPleaseRecycleCopyright Information 1997, Sun Microsystems, Inc. All rights Garcia Avenue, Mountain View, California 94043-1100 document is protected by copyright. No part of this document may be reproduced in any form by any meanswithout prior written authorization of Sun and its licensors, if information described in this document may be protected by one or more patents, foreign patents, orpending , Sun Microsystems, Sun Microelectronics, the Sun Logo, SunXTL, JavaSoft, JavaOS, the JavaSoft Logo, java ,HotJava Views, HotJJavaChips, picoJava, microJava, UltraJava, JDBC, the java Cup and Steam Logo, Write Once,Run Anywhere and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the United Statesand other is a registered trademark in the United States and other countries, exclusively licensed through X/OpenCompany, is a registered trademark of Adobe Systems, Navigator is a trademark of Netscape Communications other product names mentioned herein are the trademarks of their respective DOCUMENT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EIT
For an example of a Java program properly formatted, see “Java Source File Example” on page 19. 3.1 Java Source Files Each Java source file contains a single public class or interface. When private classes and interfaces are associated with a public class, you can put them in the same source file as the public class.
Download Java Code Conventions - Oracle
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: