Skip to content

Quiz Lookup

  • Home
  • Blog

Blog

float num1 = 3, num2 = 4;What value will z have if we execut…

float num1 = 3, num2 = 4;What value will z have if we execute the following assignment statement?float z = num1 / num2;

Published January 19, 2026
Categorized as Uncategorized

If a method (excluding constructor) does not have a return s…

If a method (excluding constructor) does not have a return statement, then

Published January 19, 2026
Categorized as Uncategorized

Assuming that “generator” is a java.util.Random object, what…

Assuming that “generator” is a java.util.Random object, what is the range of the following expression? 1 + generator.nextInt(100)

Published January 19, 2026
Categorized as Uncategorized

How many “Go” will be printed by the following code fragment…

How many “Go” will be printed by the following code fragment?for(int row=1; row

Published January 19, 2026
Categorized as Uncategorized

Write a method called average that accepts three integer par…

Write a method called average that accepts three integer parameters and returns a floating point value that is the average of the three integers.

Published January 19, 2026
Categorized as Uncategorized

str is a String object. Which of the following could throw a…

str is a String object. Which of the following could throw a StringIndexOutOfBoundsException?

Published January 19, 2026
Categorized as Uncategorized

Which of the following will be printed out using the stateme…

Which of the following will be printed out using the statement “System.out.println(a1)” in the driver class?  “a1” is the Account object created in the previous question.

Published January 19, 2026
Categorized as Uncategorized

What is output with the statement “System.out.println(“10+5=…

What is output with the statement “System.out.println(“10+5=” + (10 + 5));”?  

Published January 19, 2026
Categorized as Uncategorized

Which of the following will be printed out using the stateme…

Which of the following will be printed out using the statement “System.out.println(a1);” in the driver class?  “a1” is the Account object created in the previous question.

Published January 19, 2026
Categorized as Uncategorized

What is the output when the following java program is execut…

What is the output when the following java program is executed? public class HelloThere {    public static void main(String[ ] args)    {       System.out.println(“I said \”Hello\” to you.\nHow are you doing today?”);    } }

Published January 19, 2026
Categorized as Uncategorized

Posts pagination

Newer posts Page 1 … Page 135 … Page 75,905 Older posts
Powered by Studyeffect
  • Privacy Policy
  • Terms of Service
Quiz Lookup
Proudly powered by WordPress.