MCQ Single Best Answer Easy

QWhich of the following is NOT allowed in Java?

ID: #24713 Functions / Methods in Programming Languages 15 views
Question Info
#24713Q ID
EasyDifficulty
Functions / Methods in Programming LanguagesTopic

Choose the Best Option

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

  • A Returning an int
  • B Returning an object
  • C Returning an array
  • D Returning two primitive values using comma
Correct Answer: Option D

Explanation

✅ Answer: D) Returning two primitive values using comma

Share This Question

Challenge a friend or share with your study group.