What is the output of this Java program? class Test{ int i=1; } public class main{ public static void main(String args[]){ Test t…
What is the output of this Java program?
class Test{
int i=1;
}
public class main{
public static void main(String args[]){
Test t;
System.out.println(t.i);
}
}From the Combined Bank Assistant Programmer (CSE) February 2024 – Written (BIBM) exam, question 25 of 41.