GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Fill in the blanks to create a named constant of type double…

Fill in the blanks to create a named constant of type double named PI. final double PI = 3.14;

Read Details

What’s the output of the following portion of code? System.o…

What’s the output of the following portion of code? System.out.println(8 / 3);

Read Details

What’s the error in the following program? public class Erro…

What’s the error in the following program? public class ErrorProgram { public static void main(String[] args) System.out.println(“x”); } }

Read Details

What’s the output of the following portion of code? System.o…

What’s the output of the following portion of code? System.out.println(9 % 3);

Read Details

What’s the output of the following portion of code? int x =…

What’s the output of the following portion of code? int x = 100; ++x; System.out.println(x);

Read Details

What’s the output of the following portion of code? int x =…

What’s the output of the following portion of code? int x = 100; x++; System.out.println(x);

Read Details

What’s the output of the following portion of code? System.o…

What’s the output of the following portion of code? System.out.println(1 / 2.0);

Read Details

What’s the error in the following program? public class Erro…

What’s the error in the following program? public class ErrorProgram { public static void main(String[] args) { System.out.println(x); } }

Read Details

The program builds and runs, but the output is not correct….

The program builds and runs, but the output is not correct. Which type of error matches these symptoms?

Read Details

What’s the output of the following portion of code? double x…

What’s the output of the following portion of code? double x = 19.95; int y = (int)x; System.out.println(x);

Read Details

Posts pagination

Newer posts 1 … 34,604 34,605 34,606 34,607 34,608 … 98,861 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top