【自动化__持续集成】___java___类实例

一、代码如下

package com.wujianbo;

public class Qiang {
	String name= "";

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Qiang qiangone= new Qiang();
		Qiang qiangtwo= new Qiang();
		qiangone.name= "deng";
		System.out.println(qiangone);
		System.out.println(qiangone.hashCode());
		System.out.println(qiangtwo);
		System.out.println(qiangtwo.hashCode());
		
		System.out.println(qiangone.name);
		
		//System.out.println(Qiang);

	}

}

 

posted @ 2017-09-07 21:08  18513757531  阅读(95)  评论(0编辑  收藏  举报