CheckString

作者在 2011-09-15 14:43:45 发布以下内容
class  CheckString{
      public  CheckString(Object  object,String str){
          if(Integer instanceof  object){
                   System.out.println("The  value  is"+object.getValue);
            }
          else if(object.equals(str)){
                  System.out.println("The  value  is"+object.getMessage());
           }
          else{
                 System.out.println("The message  is   great");
           }
       }
       public  static  void  main(String args[]){
                new  CheckString(new Object(),"郑州国通交通设施有限公司");    
       }
}
jsp | 阅读 938 次
文章评论,共0条
游客请输入验证码
浏览56202次
最新评论