Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 13 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text what is the result of the following code. int i=7, x;
Question 13
Not yet answered
Marked out of 1.00
Not flaggedFlag question
Question text
what is the result of the following code.
int i=7, x;
x=Math.sqrt(i/2);
System.out.println(x);
3
Error
3.5
1.7
Question 14
Not yet answered
Marked out of 1.00
Not flaggedFlag question
Question text
The following block of code is used to calculate and display sum of following numbers 7,8,9.25.
int counter=0, sum=0;
while(counter
Du 13 Not yet anwered Marked out 500 Flog what is the result of the following code int in x=Math.sqrt(2) System.out.printin OS Error 3.5 O 12 De 14 Not yet Marked out 1.00 The following block of code is used to calculate and display sum of following numbers 720...25. int countersum while counter25) Susumecooter System.out.printlnum which of the following option is correct? The output wit be sum of 7 24 25 will not Include The total will be 25 O The final result will be correct No Output Question 15 Not yet answered Marked out of 1.00 P Flag question Given following block of code String str="ALAMAL"; int i=str.substring(1,3).indexOf("A"); what is the value of I? O2 o O 3 Previous page Next page Announcementswhich of the following option is correct?
The output will be sum of 7 till 24, 25 will not include
The total will be 25
The final result will be correct
No Output
Question 15
Not yet answered
Marked out of 1.00
Not flaggedFlag question
Question text
Given following block of code
String str="ALAMAL";
int I=str.substring(1,3).indexOf("A");
what is the value of I?
2
0
1
3
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