# JAVA 学习
## 1.方法的调用
```java
import java.util.Scanner;
public class Hellowoud {
public static void main(String[] args) {
// System.out.println("Hellowoud");
int a,b,c;
Scanner sr= new Scanner(System.in);
a= Integer.parseInt(sr.nextLine());
b= Integer.parseInt(sr.nextLine());
c =Integer.parseInt(sr.nextLine());
fac(a,b,c);
}
public static void fac(int a,int b,int c){
int p;
p = (a*2)+b+(c*8);
System.out.println(p);
}
}
```
![我也不懂捏](https://cn.bing.com/images/search?view=detailV2&ccid=xA4VbxdQ&id=9C5E28EC72FAE73FF8624F3A8A8115E70D9DD6A0&thid=OIP.xA4VbxdQO0qHbqqFssE1sQHaHa&mediaurl=https%3a%2f%2fbkimg.cdn.bcebos.com%2fpic%2fd1a20cf431adcbef7609c52e60e539dda3cc7cd931ca%3fx-bce-process%3dimage%2fwatermark%2cimage_d2F0ZXIvYmFpa2U4MA%3d%3d%2cg_7%2cxp_5%2cyp_5%2fformat%2cf_auto&exph=500&expw=500&q=%e5%98%89%e7%84%b6&simid=608029170118458088&FORM=IRPRST&ck=F0746679171CA96DA537D8E03B7C36A0&selectedIndex=1)