代码拉取完成,页面将自动刷新
public class Test {
int n;
Test(int n){
this.n = n;
}
// Test(){
// this.n = 100;
// }
int getN(){
return this.n;
}
public static void main(String[] args) {
Test n = new Test(10);
System.out.println(n.getN());
// String s1 = "e1";
// String s2 = new String("e1");
//
// if (s1 == s2) {
// System.out.println("s1 == s2");
// }
// else{
// System.out.println("s1 != s2");
// }
}
// final int N = 3;
// final int M = 3;
// int c = 3;
// int[][] a = new int[N][M];
// a[0] = new int[]{1,2,3,4,5};
// a[1] = new int[]{5,4,3,2,2};
// for(int i = 0;i < N;i++){
// for(int j = 0;j < M;j++){
// System.out.print(a[i][j] + " ");
// }
// System.out.println();
// }
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。