Skip to main navigationSkip to main contentSkip to footer
Wiki Cram
  • Home
  • Blog
Wiki Cram

Author: Anonymous (page 47,340)

Analyze the following fragment:double sum = 0;double d = 0;w…

Posted on: November 20, 2024 Last updated on: November 20, 2024 Written by: Anonymous
Analyze the following fragment:double sum = 0;double d = 0;while (d != 10.0) { d += 0.1; sum += sum + d;}
Continue reading “Analyze the following fragment:double sum = 0;double d = 0;w…”…

Which pattern is produced by the following code?for (int i =…

Posted on: November 20, 2024 Last updated on: November 20, 2024 Written by: Anonymous
Which pattern is produced by the following code?for (int i = 1; i = 1; j–) System.out.print(j
Continue reading “Which pattern is produced by the following code?for (int i =…”…

If you declare an array double[] list = new double[5], the h…

Posted on: November 20, 2024 Last updated on: November 20, 2024 Written by: Anonymous
If you declare an array double, the highest index in array list is ________.
Continue reading “If you declare an array double, the h…”…

Given the following methodstatic void nPrint(String message,…

Posted on: November 20, 2024 Last updated on: August 18, 2025 Written by: Anonymous
Given the following methodstatic void nPrint(String message, int n) { while (n > 0) { System.out.print(message); n–; }}What is k after invoking nPrint(“A message”, k)?int k = 2;nPrint(“A message”, k);
Continue reading “Given the following methodstatic void nPrint(String message,…”…

What will be displayed when the following code is executed?i…

Posted on: November 20, 2024 Last updated on: November 20, 2024 Written by: Anonymous
What will be displayed when the following code is executed?int number = 6;while (number > 0) { number -= 3; System.out.print(number + ” “);}
Continue reading “What will be displayed when the following code is executed?i…”…

What is sum after the following loop terminates?int sum = 0;…

Posted on: November 20, 2024 Last updated on: August 18, 2025 Written by: Anonymous
What is sum after the following loop terminates?int sum = 0;int item = 0;do { item++; if (sum >= 4) continue; sum += item;}while (item < 5);
Continue reading “What is sum after the following loop terminates?int sum = 0;…”…

Which of the following is the correct statement to return JA…

Posted on: November 20, 2024 Last updated on: August 18, 2025 Written by: Anonymous
Which of the following is the correct statement to return JAVA?
Continue reading “Which of the following is the correct statement to return JA…”…

When you pass an array to a method, the method receives ____…

Posted on: November 20, 2024 Last updated on: August 18, 2025 Written by: Anonymous
When you pass an array to a method, the method receives ________.
Continue reading “When you pass an array to a method, the method receives ____…”…

In the following code, what is the output for list2?public c…

Posted on: November 20, 2024 Last updated on: August 18, 2025 Written by: Anonymous
In the following code, what is the output for list2?public class Test { public static void main(String list1 = {1, 2, 3}; int = 0; list1 = 1; list2 = 2; for (int i = 0; i < list2.length; i++) System.out.print(list2 + " "); }}
Continue reading “In the following code, what is the output for list2?public c…”…

To check whether a char variable ch is an uppercase letter,…

Posted on: November 20, 2024 Last updated on: January 11, 2025 Written by: Anonymous
To check whether a char variable ch is an uppercase letter, you write ________.
Continue reading “To check whether a char variable ch is an uppercase letter,…”…
« Previous page 1 … 47,338 47,339 47,340 47,341 47,342 … 80,367 Next page »
Powered by Studyeffect
  • Privacy Policy
  • Terms of Service
Copyright © 2025 WIKI CRAM — Powered by NanoSpace