Yurttas/PL/OOL/Java/F/02/08/H/01/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 [user defined manifest] - named packages - apple.a00, banana | H00.tar.gz
javac H00.java jar cvfm h00.jar h00.mf H00.class apple banana java -jar h00.jar or java -classpath h00.jar H00 or jar xvf h00.jar java H00
- H00.java | h00.jar | h00.mf
public class importing frompackage apple.a00
andpackage banana
[ jar with user 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 | h00.mf
java as a pure oo language << 2 >> exceptions | 4 | 5 | 6 | 7 | 8 | 9