/** * Author: Josiah Yoder et al. * Class: SE1011-021 * Lesson: Week 6, Day 1 */ import java.util.Scanner; public class HelloWorld { /* * The heart of the HelloWorld class. */ public static void main(String[] args) { System.out.println("Hello World!"); Color blue = new Color(0, 0, 1.0); BeachBall ball = new BeachBall(20.0,32000.0, blue); BeachBall ball2 = new BeachBall(40.0, blue); ball2.setVolume(32000.0); System.out.println("The beachball is "+ball.getPercentInflated()+"% full"); System.out.println("The beachball is "+ball2.getPercentInflated()+"% full"); Scanner in = new Scanner(System.in); int x = in.nextInt(); } }