Java

From ◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞◜◝◟◞
Jump to: navigation, search

Modeled after C/C++

  • Pointers, multiple implemented inheritence, operator overloading are part of C/C++ that are not included in Java
  • Interpreted Language
  • Compiles to bytecode instead of machine language

Java Runtime Environment

  • Java SE Runtime Environment (JRE) includes JVM

Java SE Development Kit (JDK)

  • Includes tools for compilation and packaging
  1. java: runtime
  2. javac: compiler
  3. javadoc: docs builder
  4. jar: archive builder

Creating Java Classes

  • All code is defined in classes/
  • Classes are defined in source code files with .java extension