๐ Bug HuntJV Java Mediumโก+20 XP
NullPointerException
This code crashes with NPE.
๐ Find the bug
1
String s = null;2
if (s.equals("hello")) {3
System.out.println("Match");4
}๐ The bug is on line 2