Data Types
Java includes several built-in types you will use in every program.
- int
- double
- boolean
- char
- String
- arrays
int[] scores = {90, 88, 95};
System.out.println(scores[0]);Try it Yourself
Run this JAVA example in your local environment or course sandbox.