Thinking in Java笔记2

来源:互联网 发布:rdpac 数据 编辑:程序博客网 时间:2024/05/17 04:48

(第3章笔记)

 

 

 

运行结果:

 

n1 = 3
1.n1 = 3 n2 = 1
2.n1 = 1 n2 = 1
the result of s1==s2 is false
the result of s3==s4 is true
the result of v1.equals(v2) is false
c1 = `
0
1
2

原创粉丝点击