Question: Find the errors in the following Java sentences: 1/3 a) int a, b, c a=0 b) System.out.println('ab'); c) System.out.println( (3+2) 1)); d) int a
Find the errors in the following Java sentences: 1/3 a) int a, b, c a=0 b) System.out.println('ab'); c) System.out.println( (3+2) 1)); d) int a = 3.2; e) float a = 2.1; int c = a; f) int i = 10; float b; i= b; g) boolean a, b; a = false, b = true; h)int x; x = 1; r = x + 1; j) String s = 'This is a string';
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
