我在解释下面的程序时尝试了很多,但没有达到一个点。
class Example{
static int a = 9;
public static void main(String...args) {
System.out.println(a + 3 + 3 * m1() + a* m1() + 1 + a);
}
static int m1(){
return (a =2);
}}
撒科打诨
慕桂英4014372
慕姐4208626
随时随地看视频慕课网APP
相关分类