Yurttas/PL/OOL/Java/F/02/08/H/00/index page
Jump to navigation
Jump to search
Dr. Salih Yurttas - yurttas@zcubes.com
programming languages - design principles, implementation constructs
java
- class, package, jar, bean
- jar [default manifest] - named packages - apple.a00, banana
javac H00.java jar cvf H00.jar H00.class apple banana java -classpath H00.jar H00 or jar xvf H00.jar java H00
- H00.java | H00.jar
public class importing frompackage apple.a00
andpackage banana
[ jar without user provided manifest file ] - HA.java
[ public class in 'package apple/a00' ] - HB.java
[ public class in 'package banana' ] named packages [user-defined] - apple.a00, banana
this is a proper way of packaging for reusable components
with libraries and component-based software development
- H00.java | H00.jar
java as a pure oo language << 2 >> exceptions | 4 | 5 | 6 | 7 | 8 | 9