Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 1 Math.pow/4, 1/2) returns 20 2 O 1.0 0 QUESTION 2 To declare a constant Pl. you write O final double Pi 3.14159 static
QUESTION 1 Math.pow/4, 1/2) returns 20 2 O 1.0 0 QUESTION 2 To declare a constant Pl. you write O final double Pi 3.14159 static double Pi 3.14159; O final float Pi 3.14159: final static PI = 3.14159; QUESTION 3 To assign a double variable d to an int variable x, you write Oxad: x = long)d x = (float: O X (int): QUESTION 4 Which of the following are correct names for variables according to Java naming conventions? Radius findArea RADIUS FindArea QUESTION 5 Which of the following are not valid assignment statements? O X = 3 Ox58 + y x = 55, 55 = x QUESTION 6 The expression 4 + 20/03 - 1) * 2 is evaluated to 24 4 20 9 25 00000
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started