Single Choice Easy

QWhich of the following package is needed to find the square root of a number?

ID: #22206 Basic Concept of OOP 132 views
Question Info
#22206Q ID
EasyDifficulty
Basic Concept of OOPTopic

Choose the Best Option

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

  • A java.io ✔ ✖
  • B java.net ✔ ✖
  • C java.util ✔ ✖
  • D javalang ✔ ✖
Correct Answer

Explanation

The java.lang package contains the Math class, which provides methods for performing basic numeric operations such as finding the square root of a number.

Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue Java Programming Language where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.