Answer:
The answer is A. Compile error
Explanation:
In the class Fabric, fabricID has private access. You can only print out out private variables in the class or function they are assigned in.
ps: sorry if I am wrong, I am kind of new to java
Answer: I think it's D.
Explanation: I'm sorry if I chose the wrong answer, I'm not too good with stuff like this.
I want to say ‘A’ since if/else and switch statements are both conditional statements.