Top Posters
Since Sunday
5
a
5
k
5
c
5
B
5
l
5
C
4
s
4
a
4
t
4
i
4
r
4
New Topic  
Eighty8 Eighty8
wrote...
Posts: 209
5 years ago
If you have defined a class, SavingsAccount, with a public static method, getNumberOfAccounts, and created a SavingsAccount object referenced by the variable account20, which of the following will call the getNumberOfAccounts method?
a.account20.getNumberOfAccoun ts();
b.SavingsAccount.getNumberOfA ccounts();
c.getNumberOfAccounts();
d.SavingsAccount.account20.ge tNumberOfAccounts();
Textbook 
Starting Out with Java: From Control Structures through Objects

Starting Out with Java: From Control Structures through Objects


Edition: 7th
Author:
Read 77 times
2 Replies
Replies
Answer verified by a subject expert
Eighty8 AuthorEighty8
wrote...
Posts: 209
5 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here

Related Topics

Eighty8 Author
wrote...
5 years ago
Makes more sense now, have a good weekend!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1275 People Browsing
Related Images
  
 36
  
 281
  
 309
Your Opinion
What's your favorite coffee beverage?
Votes: 274