Question: Consider the following code segment: 1 int base = 1 0 ; 2 int exp = 3 ; 3 int answer = Math. pow (

Consider the following code segment:
1 int base =10;
2 int exp=3;
3 int answer = Math. pow(base, exp);
4 System.out.println("The answer is "+ answer);
Which lines of code use parameters?
NOTE: There may be more than one correct answer; indicate all that apply.
1
2
3
4
 Consider the following code segment: 1 int base =10; 2 int

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!