DataType: -------- Program - 01 ------------ public class DataTypeExample { public static void main(String[] args) { byte age = 20; System.out.println("The Age is " + age); short atmPin = 1234; int pinNo = 600119; long phNo = 12345678912l; System.out.println("The Information is " + atmPin + "\n" + pinNo + "\t" + atmPin); float sal = 12345.12f; double d = 1234.234567; char initial = 'A'; String email = "Greens@gmail.com"; boolean isEmp = true; } } Program - 02 ------------ public class DataTypeExample { public static void main(String[] args) { int date1 = 19/05/20; System.out.println(date1); String date2 = "19/05/20"; System.out.println(date2); } } Scanner Class ------------- Program - 03 ------------ import java.util.Scanner; public class ScannerExample { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Please Enter your ATM Pin no"); int atmPin = sc.nextInt(); System.out.println("The ATM pin no is " + atmPin); System.out.println("Please Enter your Salary"); float sal = sc.nextFloat(); System.out.println("The Salary is " + sal); System.out.println("Please Enter your Name"); String name1 = sc.next(); System.out.println("Your Name is " + name1); System.out.println("Please Enter your Name"); String name2 = sc.nextLine(); System.out.println("Your Name is " + name2); } }