class sreejith
{
String s;
public static void main(String args[])
{
sreejith ks=new sreejith();
int j,i;
i=ks.hai();
j=ks.hello();
System.out.println(i+" "+j);
}
int hai()
{
if (s==null)| | (s.length()==0))
return 10;
else return 0;
}
int hello()
{
if (s==null)| (s.length()==20))
return 10;
else return 0;
}
}
what will be printed out?
A. 10 10
B. 10 null
C. 0 0
D. Compilation Error
E. An Exception in hai
F. An Exception in hello
Ans is "F"
isn't A I have a doubt on it