Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class B10207081_2{
- public static int add(int a,int b){
- return a+b;
- }
- public static void main(String args[]){
- int num1=20,num2=30;
- System.out.println("總和:"+add(20,30));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement