public class DataTypes /** PDT's Primitive Data Types * int is integer (whole numbers, neg, pos, 0, etc up to about 2billion) * double -- allows you to store decimal points * boolean -- true or false * character */ { public static void main(String[] args) { // declare a variable of type double double length = 23.8; System.out.println("length of room is: " + length); char choice, finalGrade, copy; choice = 'C'; finalGrade = 'A'; // "A" copy = 169; System.out.println("Does this print a copyright symbol? " + copy); boolean answer; answer = true; System.out.println("answer is: " + answer); } } /* LAB 1: * Write a complete Java program that declares at least 8 variables, of * all different data types, gives them values, and prints them to the * screen. */