Expressions Flashcards
This expression that has two data type that contains both integer and floating point numbers.
Mixed Expression
it will always evaluate either true or false.
Logical Operation
This used to read data from the standard input device and store data into variables
Scanner
It declares the object of type Scanner
Scanner input =
Scanner Object
you will use it whenever you create objects that are more complex than the primitive data type. A required in java
new
when the computer execute the statement one after the other in the order in which they written
in sequence
It provides alternative to sequential program execution and used to alter the flow of execution
Control Structer
What are the most common control structures?
In selection and In repetition
The program execute particular statements depending on one or more conditions condition
In selection
the program repeats particular statements a certain number of times depending on one or more conditions
In repetition
-by making a selection or choice
-by the repetition of statement
- Branch
- Loop
Java has three selection or branch control structures
One way Selection
Two way Selection
Multiple Selection
it is a single selection statement because it selects or ignore a single action
One-way Selection
To choose between two alternatives
Two way selection
There is no standalone statement
else