Top Posters
Since Sunday
1
New Topic  
rsbains rsbains
wrote...
Posts: 475
4 years ago
Assume the signature of the method xMethod is as follows.

public static void xMethod(double[] a)

Which of the following could be used to invoke xMethod?

▸ xMethod(new double[2]);

▸ xMethod(5);

▸ xMethod(new int[2]);

▸ xMethod({3, 4});
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


Edition: 10th
Author:
Read 89 times
1 Reply
Replies
Answer verified by a subject expert
urbacoreurbacore
wrote...
Posts: 367
4 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

rsbains Author
wrote...

4 years ago
this is exactly what I needed
wrote...

Yesterday
Thank you, thank you, thank you!
wrote...

2 hours ago
This calls for a celebration Person Raising Both Hands in Celebration
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1099 People Browsing
Related Images
  
 99
  
 118
  
 409
Your Opinion
Which country would you like to visit for its food?
Votes: 261