Question: Given the following class structure, what is the proper way to create an instance of Spinner inside the bake() method? (Choose three.) A. var a
Given the following class structure, what is the proper way to create an instance of Spinner inside the bake() method? (Choose three.)

A. var a = new Kitchen().new Mixer().new Spinner();
B. Mixer.Spinner b = Mixer.new Spinner();
C. var c = new Spinner();
D. var d = new Mixer().new Spinner();
E. Kitchen.Mixer.Spinner e = new Kitchen().new Mixer().new Spinner();
F. Spinner f = new Kitchen().new Mixer().new Spinner();
public class Kitchen { class Mixer { class Spinner {} } } public void bake () { // INSERT CODE HERE }
Step by Step Solution
3.45 Rating (155 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
