阿摩線上測驗 登入

申論題資訊

試卷:無年度 - SCJP 6.0 認證教戰手冊第二版 SCJP 6.0 認證教戰手冊第二版 認證教戰手冊第二版_題庫 51-100#83056
科目:OJCP(SCJP)
排序:0

申論題內容

53 Insert six modifiers into the code such that it meets all of these requirements:  
1. It must be possible to create instances of Alpha and Beta from outside the packages in which they are defined.  
2. When an object of type Alpha (or any potential subclass of Alpha) has been created, the instance variable alpha may never be changed.  
3. The value of the instance variable alpha must always be "A" for objects of type Alpha. 5e4b651db93be.jpg