Table of Contents
Mathematical Library Methods in Java
🔒 Please log in to unlock this course.
ONLINE CLASSES BY RUMMAN ANSARI
Stuck on a Java Program? Ask Your Doubt Directly
Book a one-to-one session to get your questions answered, or message on WhatsApp for live online classes in Java Programming.
- 1:1 Mentoring
- Doubt Clearing
- Interview Preparation
MCQ Section
MCQ 1
One advantage of using a method is it can _______
Locked. Enroll to open this MCQ.
MCQ 2
Which type of value does Math.pow() method return?
Locked. Enroll to open this MCQ.
MCQ 3
Which type of value does Math.abs() method to return?
Locked. Enroll to open this MCQ.
MCQ 4
Which of the following classes is required to use Mathematical methods?
Locked. Enroll to open this MCQ.
MCQ 5
What will be the output of the following code fragment? int x = 5,y= 10; System.out.printin…
Locked. Enroll to open this MCQ.
MCQ 6
Which of the following methods are already defined in the Java compiler?
Locked. Enroll to open this MCQ.
MCQ 7
Math.log works on _______________ number only.
Locked. Enroll to open this MCQ.
MCQ 8
Which type of value does Math.max(double, int) return?
Locked. Enroll to open this MCQ.
MCQ 9
Which of the following methods returns a positive value only?
Locked. Enroll to open this MCQ.
MCQ 10
Which of the following does double a = Math.ceil(7.343); return?
Locked. Enroll to open this MCQ.
Get Java Programming Language updates by email
Short, practical lessons and course updates from Rumman Ansari. No spam.