Ashish_Deovanshi

Monday, 29 October 2012

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");
}
Posted by Ashish DeoVanshi at 04:28
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2012 (10)
    • ►  November (1)
    • ▼  October (9)
      • ...
      • Ashish_Deovanshi: when and who is responsible for ...
      • What is the difference between "abstract Class" ...
      • when and who is responsible for initialize the s...
      • To know how to install and configure android sdk...
      • What is checked & Unchecked Exception in java ?
      • What is checked and Unchecked Exception in java?
      • Ashish_Deovanshi: Is Java pure Object Oriented pro...
      • Is Java pure Object Oriented programming language ?

About Me

My photo
Ashish DeoVanshi
View my complete profile
Simple theme. Powered by Blogger.