What data type allows us to use words?
What is a String?
This is what OOP stands for
What is Object Oriented Programming?
How can you determine how the length of a string?
What is StringName.length()?
A type of coffee
What is Java?
Data types allows us to use negative and positive numbers
What are int/integers?
You create a comment by typing this.
What is // or /**/?
How do you add two Strings together?
What is StringName.concat();?
Second most popular language
Java
Data type allows only two values
What is a Boolean?
Choose the appropriate data type for this value: 5.5
1. double
2. String
3. Integer
What is 1 or double?
How can we get a few letters from a string?
Example:
String word = "GWC2022";
---
End result --> "2022"
What is StringName.substring(xi,xf);?
Inventor of Java
What/Who is James Gosling?
Data type that allows decimals
What is the default value of String variable?
A - ""
B - ''
C - null
D - not define
What is A or ""?
What will be the output of the following Java program?
class main{
public static void main(String args[]) {
int sum = 0;
for (int i = 0;i < 5; i++){
sum += i;
}
System.out.println(sum);
}
}
What is 10?
Java's Mascot
What is the Duke?
Data type that is used if the number is over 2,147,483,648
What is long?
A loop that NEVER stops executing the body.
What is an infinte loop?
What does the following statement evaluate to? true && (false || true || false)
What is true?
Original name of Java
What is Oak?