EXPERIMENTAL RESULTS
Program:1
public class input{
public int x ;
public boolean y ;
public int xef(){
return
10 ;
}
public boolean get(){
int
xyz ;
return
false ;
}
}
Output - Compilation:
Output – Final:
Program 2:
public class errorful {
public void mn( ) {
int x ;
boolean y ;
x = x+1 ;
if(x){
y = true ;
}else{
y = false ;
} } }
Output:
Program 3:
public class errorful2{
public static void main( ){
int x ;
int x ;
x = x + 1;
return ;
}
}
Output: