1. The numbers in the table shown have been stored row by row in a 2-dimensional
array NUM. Give the value stored in each of the subscripted variable below.
character string which is an object in Java defined by the class String
therefore, Strings are objects
May be a string literal, which appears in double quotation marks
May be instantiated using the new command.
o String name = new String(Mr
What is programming?
Is creating a sequence of instructions that you want the computer to
follow. (remember the computer is only as productive and correct as
the instructions that it is given to follow)
What is a programming language?
With division if both the numerator and denominator are integers and
the quotient has a decimal, the decimal value is truncated (cut off)
If one of the numerator or deno
This is done by placing a type name in parentheses in front of the value to be
When casting to an integer any decimal portion is truncated
(double) 4 / 8 0.5 (because it converts the 4 to a double before the