public class CalculateOption 1:41{public static void main(String[]arg){int i=(3+6*8-10);System.out.println("i="+i);}
What will be the output of following Java code?public class Main { public static void main(String arg[]) { int i; for (i = 1; i <= 12; i += 2) { if (i == 8) { System.out.println(i); break; } } }}
What is the output of the following code?int main(){char sook=4;while(sook < 5){printf("%d",sook);sook--;}}