Question: 20. Name the four errors in the following program: public class Famous Speech public static void main (String[]) { System.out.println(Four score and seven years ago,
20. Name the four errors in the following program: public class Famous Speech public static void main (String[]) { System.out.println("Four score and seven years ago, "); System.out.println( "our fathers brought forth on); System.out.println("this continent a new nation"); System.out.println("conceived in liberty, "); System.out.println("and dedicated to the proposition"); System.out.println( "that "); /* this part should System.out.println( "all"); really say, System.out.println"men" ); "all PEOPLE!" */ System.out.println("are"; System.out.println("created"); System.out.println( "equal"); } } 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
