Data Types

Main Data Types:

  • Java: Primitive Types (Java loves to sort everything into classes)
    • strings: non-primitive data type class in Java

Input Primitive Data: input supplied by the user

  • Scanner: Java Utility Class for Console Input

Output Primitive Data: outputting results of program from data inputted

Grade Calculator

  • uses Primitive Type Double & introduces wrapper class Double (one of the most common Data Structures in Java – ArrayList!)