• +91 9723535972
  • info@interviewmaterial.com

Java Interview Questions and Answers

Question - What can go wrong if you replace &emp;&emp; with &emp; in the following code: String a=null; if (a!=null && a.length()>10) {...}

Answer - A single ampersand here would lead to a NullPointerException.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners