2026-07-20 07:36
The void keyWord is used to show that a method will not return a value.
// no return type
public void setX(int x) {
this.x = x;
}
// returns an int
public int getX() {
return x;
About Us|Disclaimer|Copyright Notice|Infringement Report|Privacy Policy|Contact Us
Copyright © 2026 eLLeNow.com All Rights Reserved.