Yurttas/PL/OOL/Java/F/02/08/B/00/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 [default without manifest] - package - unnamed[default]
javac B00.java

jar cvf B00.jar *.class

java -classpath B00.jar B00

or

jar xvf B00.jar

java B00
    • B00.java | B00.jar
      [ multiple classes all in their own file in an 'unnamed package' ]
      [ jar without user provided manifest file ]
    • B.java
    • BB.java
    • BBB.java default package - possible but 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