Submission 1 (0 points) Which of the following can be accessed (without casting)
ID: 3863019 • Letter: S
Question
Submission 1 (0 points) Which of the following can be accessed (without casting) from a method of superclass S? A protected variable declared in S's subclass T M A public variable declared in subclass T M A private variable declared in subclass T A protected variable declared in S Submission 2 (01 points) Which of the following can be accessed (without casting) from a method of superclass S? Aprotected variable declared in S's subclass T M A public variable declared in subclass T M A private variable declared in subclass T V A protected variable declared in S Submission 3 (01 polnts) which of the following can be accessed (without casting) from a method of superclass S? A protected variable declared in S's subclass T M A public variable declared in subclass T A private variable declared in subclass T V A protected variable declared in s Submission 4 (011 points) Which of the following can be accessed (without casting) from a method of superclass S? MA protected variable declared in S's subclass T M A public variable declared in subclass T A private variable declared in subclass T M A protected variable declared in S Thursday, March 16 2017 09:45 PM EDT Thursday, March 16 2017 09:46 PM ED Thursday, March 16 2017 DB:50 PM Thursday, March 16 2017 09:57 PM EDTExplanation / Answer
1. The answer is option 1,2 and 4 as subclass does not inherit private members of parent class. Please let me know why you thin this option is wrong.