Posts

Showing posts with the label Method Overloading-multiple methods > same name >different parameters and working

Zeek_32_MethodOverloading.java

/* If a class has multiple methods having same name but different in parameters,  it is known as Method Overloading. -void: Method that returns nothing.Return type-null,(cannot use return statement ) -static: All object in a class shares static method. */