MCQ Single Best Answer Easy

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

ID: #22206 Basic Concept of OOP 86 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: Option D

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.

Share This Question

Challenge a friend or share with your study group.