comp 2 Flashcards
capability to reuse code.
Object Oriented
One of the nice things about Java is its capability to run in most platforms once you’ve compiled it
Cross Platform / Platform Independent
WORA
Write Once, Run Anywhere
– it runs the applications on top of the Java Virtual Machine (JVM) and
your JVM sits on top of your operating system
– Your Java application does not have a direct attachment or a direct
contact with your operating system
secure
100% free
You can freely download the JDK and its documentation at the Oracle website.
give the 7 DIFFERENCES OF JAVA & C++
- Java does not support operator overloading.
- Java does not have template classes.
- Java does not support multiple Inheritance.
- Java does not support global variables.
- Java does not use pointers.
- Java has replaced the destructor function with finalize method.
- There are no header files in Java.
enumerate the three java flavors
- Java Standard Edition (JSE)
- Java Enterprise Edition (JEE)
- Java Micro Edition (JME)
differentiate the three java flavors
- Java Standard Edition (JSE)
- It is widely used platform for computer
programming in Java
* 2. Java Enterprise Edition (JEE)
-It has extra libraries which can be used to
develop JEE applications
* 3. Java Micro Edition (JME)
-It is used to design for embedded systems.
Example: Android
an application that Java developers
should have in their machine.
Components:
Java Compiler, Java-Doc creator, utility software, profilers and Java Runtime
Environment (JRE).
Java Development Kit (JDK)
is the interpreter that needs to be
installed by a Java Technology Application user.
Java Runtime Environment (JRE)
components of JRE
Java Virtual Machine (JVM)
Application Programming Interface (API)
is a virtual machine whose purpose is to
execute other programs.
Java Virtual Machine (JVM)
Application Programming Interface (API)
set of rules that controls the interaction between software.
JAVA VIRTUAL MACHINE
- Java Virtual Machine can read compiled byte codes
- The JVM can also be customized
- Majority of the objects type is being checked by the compiler
process of deallocating memory (heap) spaces that is no longer needed
GARBAGE COLLECTOR
In other programming language, this is the job of the programmer
GARBAGE COLLECTOR
T or F
The implementation of the Garbage Collector varies on different platform.
T
which enables the user to make use of Buttons, Frames and TextFields
Graphical User Interface (GUI) Applications
makes use of the standard GUI components
Abstract Window Toolkit (AWT)
other name for Java Foundation Classes (JFC)
Swing
which is supported under the javax (java extension) package.
Java Foundation Classes (JFC) / Swing,