public class MyExample { private int myNum; private double myDouble; public String myStr = "Hi There!"; public int getMyNumAndZero() { int temp = myNum; myNum = 0; return( temp); } public MyExample(int numToSet) { System.out.println("Constructor called!"); myNum = numToSet; myDouble = myNum / 3.5 ; if( myDouble > 5) { System.out.println("myDouble is bigger than 5!"); } else { System.out.println("myDouble is smaller than 5!"); } } public static void main(String[] args){ int [] myArray; System.out.println("Hi there!"); MyExample mec = new MyExample(15); MyExample mec2 = new MyExample(20); System.out.println("mec.myNum is:" + mec.getMyNumAndZero() ); } }