CSE 412 LAB
Sunday, January 22, 2012
Method With return Value
public int add2number(){
int x=10,y=20,result=0;
result=x+y;
return result;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment