11-10. What can you tell about the following method?
public void myMethod( )
{
}
1
Expert's answer
2012-11-30T04:57:02-0500
public means that the method is visible and can be called from other objects of other types. Other alternatives are private, protected, package and package-private.
void means that the method has no return value. If the method returned an int you would writeint instead of void.
body of the method is e,pty - this method does nothing
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment