GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

How many times does the following loop execute? for (double…

How many times does the following loop execute? for (double d = 1; d != 10; d++) { d = d / 3; System.out.print(d + ” “); }

Read Details

What is the value of Math.pow(2, 3)?

What is the value of Math.pow(2, 3)?

Read Details

Assume the variable numbers has been declared to be an array…

Assume the variable numbers has been declared to be an array that has at least one element. Which is the following represents the last element in numbers?

Read Details

What is the result of the following code snippet? double bot…

What is the result of the following code snippet? double bottles; double bottleVolume = bottles * 2; System.out.println(bottleVolume);

Read Details

Consider the following code snippet: String[] data = { “abc”…

Consider the following code snippet: String[] data = { “abc”, “def”, “ghi”, “jkl” }; String [] data2; In Java 6 and later, which statement copies the data array to the data2 array?

Read Details

Which of the following declares a variable that will store a…

Which of the following declares a variable that will store a count with an integer value?

Read Details

If currLength is an integer variable that gives the number o…

If currLength is an integer variable that gives the number of elements currently in the array myArray, which code snippet prints out the elements in the partially filled array of integers?

Read Details

Which of the following conditions is true exactly when the i…

Which of the following conditions is true exactly when the integer variable number is even?

Read Details

When hand-tracing a portion of code, which statement about B…

When hand-tracing a portion of code, which statement about Boolean conditions is true?

Read Details

Which of the following conditions will correctly check if th…

Which of the following conditions will correctly check if the String variable greeting is “bonjour”?

Read Details

Posts pagination

Newer posts 1 … 74,360 74,361 74,362 74,363 74,364 … 82,068 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top