【自动化__持续集成】___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); } }