Java Programming

Java Programming

University

40 Qs

quiz-placeholder

Similar activities

Quiz Penilaian AP2A

Quiz Penilaian AP2A

University

40 Qs

Latihan 1 PBO XI RPL 2

Latihan 1 PBO XI RPL 2

10th Grade - University

40 Qs

B.Tech. (BT) VII Core Java

B.Tech. (BT) VII Core Java

University

41 Qs

Arrays and ArryList

Arrays and ArryList

University

40 Qs

Exception in Java

Exception in Java

University

41 Qs

JAVA BASIC 3

JAVA BASIC 3

University

35 Qs

Java Quiz

Java Quiz

University

40 Qs

Test 2

Test 2

University

36 Qs

Java Programming

Java Programming

Assessment

Quiz

Computers

University

Medium

Created by

Anshu Sharma

Used 136+ times

FREE Resource

40 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

JDK stands for________

2.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

JVM stands for________

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a comment in the Java language?

/ comment /

/* comment */

/ comment */

<-- comment -->

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the correct main() method signature in Java?

public static void main (String [] args)

public static void Main (String [] args)

public static void main (string [] args)

public static void main (String args)

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a valid variable declaration in Java?

int 1myInteger = 0;

int int = 0;

Int my Integer = 0;

int myInteger = 0;

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which Java data type is used to store 64-bit floating-point numbers?

int

long

float

double

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The import statement used in Java to access the Scanner class is:

import java.Scanner;

import java.util.Scanner;

import java.package.Scanner

import.java.util.Scanner;

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?