Yurttas/PL/OOL/Java/F/02/08/B/01/index page

From ZCubes Wiki
Jump to navigation Jump to search
Dr. Salih Yurttas - yurttas@zcubes.com
programming languages - design principles, implementation constructs
java

  1. class, package, jar, bean jar [with user manifest] - package - unnamed[default]
javac B00.java

jar cvfm b00.jar b00.mf *.class

java -jar b00.jar

or

java -classpath b00.jar

or

jar xvf b00.jar

java B00
    • B00.java | B00.jar | b00.mf
      [ multiple classes all in their own file in an 'unnamed package' ]
      [ jar with user manifest file ]
    • B.java
    • BB.java
    • BBB.java default package - possible not useful in software engineering context of libraries and
      component-based software development

java as a pure oo language << 2 >> exceptions | 4 | 5 | 6 | 7 | 8 | 9