Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

4. For the java language which of the following are true for static methods: (yo

ID: 668932 • Letter: 4

Question

4. For the java language which of the following are true for static methods: (you can select up to 4)

a.invoke non-static methods in the class

b.invoke other static methods in the class

c.reference static variables in the class

d.reference instance data varables in the class

6. For the java language, a non-static (instance) method can do what: (you can select up to 4)

a. invoke other non static method also in the class

b. reference static variables in the class

c. invoke static methods in the class

d. reference instance data variables in the class

Explanation / Answer

4.
(a) False
Non-static methods in the class can only be accessed using objects.

(b) True

(c) True

(d) True


6.
(a) True

(b) True

(c) True

(d) True

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote