Which of the following method signatures correctly specifies an array as a return type?
a) private array testMethod (int x)
b) private int[ ] testMethod (int x)
c) private double[5] testMethod (int x)
d) private double testMethod[ ] (int x)
e) can't tell from this code
+1
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which of the following method signatures correctly specifies an array as a return type? a) private array testMethod (int x) b) private int[ ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » Which of the following method signatures correctly specifies an array as a return type? a) private array testMethod (int x) b) private int[ ] testMethod (int x) c) private double[5] testMethod (int x) d) private double testMethod[ ] (int x) e) can't