Q. in Java, add a ___ to a constructor to convert it into a method.

  • (A) if statement
  • (B) static
  • (C) return type
  • (D) semicolon
πŸ’¬ Discuss
βœ… Correct Answer: (C) return type

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
2345
Total Visits
πŸ“½οΈ
5 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
98%
Success Rate