JAVA Programming UPDATED ACTUAL Exam Questions and
CORRECT Answers
Memory Management - Memory management is automatically handled by Java Virtual Machine,
which means the programmer does not need to write code to manage memory.
Performance - Properly written Java programs execute quickly and use little memory.
Networking - Java works on internet and intranet applications alike.
Javadoc - To avoid mistakes and problems later as the program becomes longer and complex,
you need to include comment statements in your program to identify the program or section of
code's purpose/this documentation of comments
Comment Opener - /*** [line for comment] ***/
operators - ...
iteration statements - Iteration statements repeat a function until a certain value or condition is
satisfied.
For Statement
While Statement
Do-While Statement
data types - ...
variables - A placeholder—it's the value of which can be modified according to the needs of the
program or the results of a calculation.
, conditional statements - ...
access modifiers - Public
Private
Protected
These access modifiers are used with classes, methods, and variables.
If - in the event that, i.e. If this occurs, that might happen.
Then - at that time, i.e. I walked into the office and then went to sit down.
Else - otherwise, i.e. You must do this or else go to bed.
Switch - to shift from one to the other, i.e. Please switch places with me.
While - a period of time marked by a condition, i.e. Stay here while I go see the doctor.
Return - a statement which gives the output of the specific task. This will be used when you
implement the conditional statement.
Public - accessible or shared by all members, i.e. I went into the public restroom.
Static - not moving, i.e. The static content on the screen did not move.
single line comment - //......
CORRECT Answers
Memory Management - Memory management is automatically handled by Java Virtual Machine,
which means the programmer does not need to write code to manage memory.
Performance - Properly written Java programs execute quickly and use little memory.
Networking - Java works on internet and intranet applications alike.
Javadoc - To avoid mistakes and problems later as the program becomes longer and complex,
you need to include comment statements in your program to identify the program or section of
code's purpose/this documentation of comments
Comment Opener - /*** [line for comment] ***/
operators - ...
iteration statements - Iteration statements repeat a function until a certain value or condition is
satisfied.
For Statement
While Statement
Do-While Statement
data types - ...
variables - A placeholder—it's the value of which can be modified according to the needs of the
program or the results of a calculation.
, conditional statements - ...
access modifiers - Public
Private
Protected
These access modifiers are used with classes, methods, and variables.
If - in the event that, i.e. If this occurs, that might happen.
Then - at that time, i.e. I walked into the office and then went to sit down.
Else - otherwise, i.e. You must do this or else go to bed.
Switch - to shift from one to the other, i.e. Please switch places with me.
While - a period of time marked by a condition, i.e. Stay here while I go see the doctor.
Return - a statement which gives the output of the specific task. This will be used when you
implement the conditional statement.
Public - accessible or shared by all members, i.e. I went into the public restroom.
Static - not moving, i.e. The static content on the screen did not move.
single line comment - //......