CSIS-1030 Module 4
Ace your homework & exams now with Quizwiz!
Who was Java developed by and when?
James Gosling in 1984.
What is the correct syntax to output "Hello World" in Java?
System.out.println("Hello World");
How do you start writing an if statement in Java?
if(x > y)
How do you start writing a while loop in Java?
while ( x > y)
What are the eight primitive data types
[1] int [2] long [3] short [4] double [5] float [6] char [7] boolean [8] byte
Which of the following is not a primitive data type: string, int, double, and long.
string