Engineering Full Stack Apps with Java and JavaScript
Which of the lines will cause a compile time error in the following program?
public class MyClass{ public static void main(String args[]){ char c; int i; c = 'a';//1 i = c; //2 i++; //3 c = i; //4 c++; //5 } }
Select 1 option
A. line 1
B. line 2
C. line 3
D. line 4
E. line 5