1. 程式人生 > >物件作為屬性賦值

物件作為屬性賦值

   如何不set物件的話會報空指標:
          planText pt = new planText();
		
	     pt.setAuthority_info(new authority_info());
	     pt.getAuthority_info().setConfirm(2);