• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/30

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

30 Cards in this Set

  • Front
  • Back

Java is architecturally


A. Neutral


B. Oriented


C. Specific


D. Abstract

A. Neutral

A boolean variable can hold


A. Any character


B. Any whole number


C any decimal number


D. The value true or false

D. The value true or false

In Java methods must include all of the following except


A. a declaration


B. A call to another method


C. Curly braces


D a body

B. A call to another method

Most class data fields are


A. Public


B. Static


C. Final


D. Private

D. private

The method with the declaration public static char procedure (double d) has a method type of .


A. Public


B. Static


C. Char


D. Double

C. Char

The method public static boolean test method(int response) returns


A. No value


B. An int value


C. A boolean value


D. You cannot determine what is returned

C. A boolean value

The assignment operator in Java is.


A. ==


B :=


C =


D ::

C. =

You must compile classes writing in Java into.


A. Bytecode


B. Source code


C. Javadoc statement


D. Object code

A. Bytecode

When data cannot be changed after a class is complied, the data is.


A. Variable


B. Constant


C. Volatile


D. Mutable

B. Constant

All Java programming statements must end with a.


A. Period


B. Comma


C. Closing parentheses


D. Semi colon

D. Semicolon

The operator that combines two conditions into a single Boolean value that is true only when both of the conditions are true is.


A. $$


B. &&


C. ||


D. !!

B. &&

The logical structure in which one instruction occurs after another with no branching is a.


A. Selection


B. Loop


C. Sequence


D. Case


C. Sequence

The code between a pair of curly braces in a method is a.


A. Function


B. Brick


C. Block


D. Sector

C. Block

A constructor____ overloaded.


A. Must be


B. Cannot be


C. Can be


D. Is always automatically

C. Can be

Methods that you reference with individual objects are___.


A. Private


B. Public


C. Static


D. Nonstatic

D. Nonstatic

You must always include ___ in a for loop's parentheses.


A. Two semicolons


B. Three semicolons


C. Two commas


D. Three commas

A. Two semicolons

A decision is based on a ____ value.


A. Boolean


B. Absolute


C. Definitive


D. Convoluted

A. Boolean

A structure that allows repeated execution of a block of statements is a ____.


A. Cycle


B. Ring


C. Loop


D. Band

C. Loop

A loop that preforms it's conditional check at the bottom of the loop is a ____ loop.


A. While


B. Do... while


C. For


D. For.. while

B. Do... while

A loop that never ends is a ____ loop.


A. Infinite


B. Iterative


C. Structured


D. Illegal

A. Infinite

Which of the following can be used as an array subscript?


A. char


B. String


C. double


D. int

D. int

A array is a list of data items that all___.


A. Have the same type


B. Have different names


C. Are integers


D. are null

A. Have the same type

Array names represent ____.


A. References


B. Value


C. Functions


D. Allusions

A. References

A parallel array is one that____.


A. Holds values that correspond to those in another array


B. Holds an even number of values


C. Is placed adjacent to another array in code


D. Is placed adjacent to another array in memory

A. Holds values that correspond to those in another array

Within an event-driven program, a component on which an event is generated is the ____.


A. Performer


B. Listener


C. Source


D. Handler

C. Source

A class that will respond to button-press events must use which phrase in its header?


A. import java.event


B. extends Action


C. extends jFrame


D. implements ActionListener

D. implements ActionListener

The first position in a String ___.


A. Must be alphabetical


B. Must be uppercase


C. In position zero


D. Is ignored by the


compareTo() method

C. In position zero

Joining Strings with a plus sign is called ____.


A. Chaining


B. Concatenation


C. Parsing


D. Linking

B. Concatenation

Which of the following is not true of a jTextField?


A. A user can type text data into it


B. Its data can be set in the program instead of by the user


C. A program can set its attributes so that the user cannot type into it.


D. It is a type of Container

D. It is a type of Container

A sequence of characters enclosed with double quotation marks is a ____.


A. Literal string


B. Symbolic string


C. Prompt


D. Command

A. Literal string