posted 11 years ago
return; it simply means return i.e. return the control back to invoking method. it does not return(value) anything. just pass of control. a method with return type void can include return statement at any point
return null; this can be put in any method with return type of the type Object. it actually does something. it returns null , so say i have something like this