void is a key word,when i place void preceding Method name that means it does not return anything and Void is To know the return type of the Method .Integer is a way boxing values of primitive type int as well as Void is a way of boxing values of the primitive type void,but void does not have a possible values that what makes java.lang.Void is "Uninstantiable".

No comments:
Post a Comment