comp 2 Flashcards

1
Q

capability to reuse code.

A

Object Oriented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

One of the nice things about Java is its capability to run in most platforms once you’ve compiled it

A

Cross Platform / Platform Independent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

WORA

A

Write Once, Run Anywhere

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

– 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

A

secure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

100% free

A

You can freely download the JDK and its documentation at the Oracle website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

give the 7 DIFFERENCES OF JAVA & C++

A
  • 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

enumerate the three java flavors

A
    1. Java Standard Edition (JSE)
    1. Java Enterprise Edition (JEE)
    1. Java Micro Edition (JME)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

differentiate the three java flavors

A
  1. 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

an application that Java developers
should have in their machine.

Components:
Java Compiler, Java-Doc creator, utility software, profilers and Java Runtime
Environment (JRE).

A

Java Development Kit (JDK)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

is the interpreter that needs to be
installed by a Java Technology Application user.

A

Java Runtime Environment (JRE)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

components of JRE

A

Java Virtual Machine (JVM)
Application Programming Interface (API)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

is a virtual machine whose purpose is to
execute other programs.

A

Java Virtual Machine (JVM)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Application Programming Interface (API)

A

set of rules that controls the interaction between software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

JAVA VIRTUAL MACHINE

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

process of deallocating memory (heap) spaces that is no longer needed

A

GARBAGE COLLECTOR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In other programming language, this is the job of the programmer

A

GARBAGE COLLECTOR

17
Q

T or F
The implementation of the Garbage Collector varies on different platform.

A

T

18
Q

which enables the user to make use of Buttons, Frames and TextFields

A

Graphical User Interface (GUI) Applications

19
Q

makes use of the standard GUI components

A

Abstract Window Toolkit (AWT)

20
Q

other name for Java Foundation Classes (JFC)

A

Swing

21
Q

which is supported under the javax (java extension) package.

A

Java Foundation Classes (JFC) / Swing,