public class ClassA { public static double var1 = 3.14; public static void method1() { System.out.println("Hi, I'm method1 in ClassA"); } }