Câu 50: GSSP-Java: GIAC Secure Software Programmer-Java
Mark works as a Programmer for InfoTech Inc. He develops a program that defines a class named Inventory that has an instance variable named NumOfItems. Which of the following properties will be applied by NumOfItems?Each correct answer represents a complete solution. Choose all that apply.
Nội dung câu hỏi
Mark works as a Programmer for InfoTech Inc. He develops a program that defines a class named Inventory that has an instance variable named NumOfItems. Which of the following properties will be applied by NumOfItems?Each correct answer represents a complete solution. Choose all that apply.
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. It will not be visible in Static methods if it passed as a parameter.
- B. It will be visible in Static methods if it passed as a parameter. — đáp án hiện tại
- C. It will be available for all the instance methods of the class. — đáp án hiện tại
- D. It becomes available for garbage collection if it is no longer in scope. — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.