What will be the result of the following code Snippet
String a=null;
if (a!=null & a.length()>10) {
System.out.println("Success");
}
else {
System.out.println("Failure");
}
if (a!=null & a.length()>10) {
System.out.println("Success");
}
else {
System.out.println("Failure");
}
No comments:
Post a Comment