pls explain clearly, 16th question
Attachments:
Answers
Answered by
0
public is an access specifier..it also defines the keyword class which is followed by a meaningful class name.
static is a keyword used to describe how objects are managed in memory. It means that the staticobject belongs specifically to the class, instead of instances of that class. Variables, methods, and nested classes can be static.
void is a return type in java. It signifies that a method returns nothing, as implied by its literal meaning. ... In above i have used function name "sum" with return type "Void". This means sum function will not return any value
hope it helps..
Mark as BRAINLIEST!!!❤❤❤
static is a keyword used to describe how objects are managed in memory. It means that the staticobject belongs specifically to the class, instead of instances of that class. Variables, methods, and nested classes can be static.
void is a return type in java. It signifies that a method returns nothing, as implied by its literal meaning. ... In above i have used function name "sum" with return type "Void". This means sum function will not return any value
hope it helps..
Mark as BRAINLIEST!!!❤❤❤
Similar questions