/* Author : Michael Robinson Program : if_else.java Purpose : To show how Java processes the if else statements Updated : April 26, 2099 */ public class if_else { public static void testIfElse( float temperature ) { if( temperature > 80 ) { System.out.println( " Oh man it is hot!!" ); } else { System.out.println( " Summer time is gone!!" ); } }//end public static void testIfElse( float temperature ) public static void main( String arg[] ) { testIfElse( 71 ); }//end public static void main( String arg[] ) }//end public class if_else