Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Big Java Binder Early Objects
Quiz 6: Loops
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
What is the output of the code snippet given below? Int i = 0; While (i != 11) { System.out.print(" " + i) ; I = i + 2; }
Question 22
Multiple Choice
What will be the result of running the following code fragment? Int year = 0; Double rate = 5; Double principal = 10000; Double interest = 0; While (year < 10) { Interest = (principal * year * rate) / 100; System.out.println("Interest " + interest) ; }
Question 23
Multiple Choice
What are the values of i and j after the following code snippet executes? Int i = 60; Int j = 50; Int count = 0; While (count < 5) { I = i + i; I = i + 1; J = j - 1; J = j - j; Count++; } System.out.println(i) ; System.out.println(j) ;