public class AddNum
extends java.lang.Object
Note:Giving proper comments in your program makes it more user friendly and it is assumed as a high quality code.
| Constructor and Description |
|---|
AddNum() |
public int addNum(int numA,
int numB)
numA - This is the first paramter to addNum methodnumB - This is the second parameter to addNum methodpublic static void main(java.lang.String[] args)
throws java.io.IOException
args - Unused.java.io.IOException - On input error.IOException