Syntax of a return statement in Java -
this in 1 of practice exams.
return search(p,key,0,p.length-1) !=null;
how if statements?
if (search(p,key,0,p.length-1) !=null) { return true; } return false;
this in 1 of practice exams.
return search(p,key,0,p.length-1) !=null;
how if statements?
if (search(p,key,0,p.length-1) !=null) { return true; } return false;
Comments
Post a Comment