Data Types | Java | Miscellaneous | Miscellaneous/Binary/Hexadecimal | Nathan Carlson |
---|---|---|---|---|
What is a Boolean?
A binary data type having two possible values
|
What are 3 Examples of Java Reserved Words?
Public, Static, Void
|
What is the code to make a block comment?
Code :
/* */ |
How many characters can a string hold in java?
2^31-1
|
.
.
|
What is a Float?
A primitive data type that is half as accurate as a double
|
What are the words called that a computer program is made up of?
Keywords
|
What is the code to make a line comment?
Code:
// |
What is 1001100 in hexadecimal?
4C
|
.
.
|
What is an int?
A fundamental data type built into the compiler
|
What is Java?
A programming language and computing platform released by Sun Microsystems
|
What is a Class?
An extensible program-code-template for creating objects
|
What is 2D in Binary?
101101
|
.
.
|
What is a Char?
A data type that holds one variable
|
What is an Array?
A collection of one for more values of the same type
|
What is System.out.print?
The code needed to print your text
|
How many bits can an int have?
Maximum of 32-bits
|
.
.
|
What is a double?
A data type that is twice as precise than a float
|
What is a Compiler?
A special program that processes statements written in a particular programming language
|
What is a protected variable?
Something that can be accessed and edited by anything in the same package
|
How do you write an array length 10 of ints?
int x [ ] = int [ 10 ]
|
.
.
|