ExamQuestions.com

Register
Login
Java SE 8 Programmer II Exam Questions

Oracle

Java SE 8 Programmer II

120 / 130

Question 120:

Given the code fragments : 
image

                
                
            
                image
            
            
                
What is the result? 

Answer options:

A. TV Price :110 Refrigerator Price :2100
B. A compilation error occurs.
C. TV Price :1000 Refrigerator Price :2000
D. The program prints nothing.