MCQ Single Best Answer Easy

QWhich statement is correct?

ID: #24718 Functions / Methods in Programming Languages 17 views
Question Info
#24718Q ID
EasyDifficulty
Functions / Methods in Programming LanguagesTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A A Java method can return multiple values directly.
  • B A Java method can return only one value, but that value can hold multiple data.
  • C A Java method cannot return objects.
  • D Java methods cannot return arrays.
Correct Answer: Option B

Explanation

✅ Answer: B) A Java method can return only one value, but that value can hold multiple data.

Share This Question

Challenge a friend or share with your study group.