int a=100, b=50;String x = String. valueOf(a);String y = String. valueOf(b);System.out.println(x.length() +y.length()) ;
#include stdio.hFind the output of the following programint main() {char ch = 'A';if (ch = 'A' && ch = 'Z') {printf("%c is an uppercase letter.\n", ch);} else {printf("%c is not an uppercase letter.\n", ch);}return 0;}
public class First_C {public void myMethod(){System.out.println("Method");}{System.out.println(" Instance Block");}public void First_C(){System.out.println("Constructor ");}static {System.out.println("static block");}public static void main(String[] args) {First_C c = new First_C();c.First_C();c.myMethod();}}
#include iostreamusing namespace std;int main() {for(int i=1;i10;i=i+8){courtiendl;}int i=0;for(;;){courtiendl;}
main(){int a = 1, b = 2, c = 3:printf("%d", a + = (a + = 3, 5, a))}