a static method can directly reference an instance data variable in the class (without an invoking object) a static method can directly reference static variables in the class a static method can directly invoke other static methods in the class [Choose] [Choose ] [Choose] <

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter10: Object-oriented Programming
Section: Chapter Questions
Problem 16RQ
icon
Related questions
Question

These are all true or false questions

a static method can directly reference an
instance data variable in the class (without an
invoking object)
a static method can directly reference static
variables in the class
a static method can directly invoke other
static methods in the class
a static method can directly invoke non-
static methods in the class (without an
invoking object)
[Choose]
[Choose ]
[Choose ]
[Choose ]
Transcribed Image Text:a static method can directly reference an instance data variable in the class (without an invoking object) a static method can directly reference static variables in the class a static method can directly invoke other static methods in the class a static method can directly invoke non- static methods in the class (without an invoking object) [Choose] [Choose ] [Choose ] [Choose ]
an instance method can directly reference
instance data variables in the class (without
an invoking object)
an instance method can directly reference
static variables in the class
an instance method can directly invoke static
methods in the class
an instance method can directly invoke other
instance (non-static) methods in the class
(without an invoking object)
[Choose ]
[Choose ]
[Choose ]
[Choose ]
Transcribed Image Text:an instance method can directly reference instance data variables in the class (without an invoking object) an instance method can directly reference static variables in the class an instance method can directly invoke static methods in the class an instance method can directly invoke other instance (non-static) methods in the class (without an invoking object) [Choose ] [Choose ] [Choose ] [Choose ]
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Returning value from Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage