Don't be confused !!
method : access modifier optional specifier return type methode name (parameters)
static int findMax(int[])
static : because, the method is used directly in a static main method (the method exist alone without instanciating the class Test)
int : return type, we want just the maximum int value from the array
int[]: the method takes an array of int.
Correct is Letter B because we want int array as response and I tested.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
praroopgupta
Highly Voted 2 years, 3 months agoMPignaProTech
Most Recent 3 months ago7df49fb
10 months agoDarGrin
1 year, 3 months agodsms
1 year, 5 months agoIbrahimAlnutayfi
1 year, 6 months agoKolodets
1 year, 8 months agoCreazyyyyGirl
1 year, 10 months agoAnnie432
1 year, 11 months agobaledevit
2 years, 3 months agoiSnover
2 years, 3 months ago