A programmer is designing a class to encapsulate t...
单选题

A programmer is designing a class to encapsulate the information about an inventory item. A JavaBeans component is needed to do this. The Inventoryltem class has private instance variables to store the item information:  10. private int itemId;  11. private String name;  12. private String description;  Which method signature follows the JavaBeans naming standards for modifying the itemld instance variable?() 

发布日期:2020-04-10

A.itemID(int itemId)

B.update(int itemId)

C.setItemId(int itemId)

D.mutateItemId(int itemId)

E.updateItemID(int itemId)

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定