• 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/37

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;

37 Cards in this Set

  • Front
  • Back

Used to specify the set of values and their operations

Data Types

Fundamental Data Types in Java

Primitive Data Types

Data Type that is useful for saving memory space in large arrays. 8-Bit Signed Integer.

Byte

Data Type that is also useful for saving memory space in large arrays. 16-Bit Signed Integer.

Short

Int

Data Type used when a wider range than int is needed. 64-bit signed integer.

Long

Data Type used for saving memory in large array of floating numbers. Single Precision. 32-bit IEE.

Float

For Decimal Data Type, this is generally used. Double precision. 64-bit IEE.

Double

Data Type only has two (2) possible values.

Boolean

Data type used to store single character.

Char

A name for memory location that stores a specific value. An identifier.

Variable

A memory location whose values cannot be changed during program execution.

Constant

Converting value from a specific type to a variable of another type.

Typecasting

Conversion of a lower precision data type to a higher precision data type.

Widening Conversion (Implicit Conversion)

Conversion of a higher precision data type to a lower precision data type.

Narrowing Conversion (Explicit Conversion)

Specific symbols in a programming language.

Operators

Used to perform basic mathematical operations on numerical values.

Arithmetic Operators

A value used on either side of an operator

Operand

Occurs when both operands are integers

Integer division

Occurs when either or both operands are floating-point value and the result is a floating-point value.

Floating-point division

Return a Boolean value based on the Boolean result of the given expressions. Always evaluated from left to right.

Logical Operators

What are the different operators used in Logical Operators

What are the different operators used in arithmetic operators

Used to evaluate relation between the operands and generate a decision on that base.

Relational Operators

What are the different operators used in relational operators

What are the different operators used in assignment operators.

Used to assign values to a variable

Assignment Operators

Collection of rules that specifies which operations need to be performed in an expression

Order of Precedence

Precedence rules can be overriden by this

Parantheses

Order of Precedence of Operators

Different Methods for Scanner

Displays an output in a current line

print()

Insertion in the line after the output

println()

Used to create an output of specific format

printf()

Placeholder for a specific numeric value

Format Specifier

Examples of Format Specifier

A class in java.util package

Scanner