Question: Which statements, when inserted at (1), will not result in compile-time errors? Select the three correct answers. (a) i = this.planets; (b) i = this.suns;
Which statements, when inserted at (1), will not result in compile-time errors?

Select the three correct answers.
(a) i = this.planets;
(b) i = this.suns;
(c) this = new ThisUsage();
(d) this.i = 4;
(e) this.suns = planets;
public class ThisUsage { int planets; static int suns; public void gaze () { int i; // (1) INSERT STATEMENT HERE }
Step by Step Solution
3.42 Rating (146 Votes )
There are 3 Steps involved in it
a b and e Nonstatic methods have an implicit this obje... View full answer
Get step-by-step solutions from verified subject matter experts
