Java Programming

Java Programming

University

40 Qs

quiz-placeholder

Similar activities

TECHNICAL QUIZ

TECHNICAL QUIZ

University

45 Qs

Core Java (B.Tech. (BI) V Sem)

Core Java (B.Tech. (BI) V Sem)

University

40 Qs

Java Quiz 1

Java Quiz 1

University

40 Qs

Arrays and ArryList

Arrays and ArryList

University

40 Qs

JavaScript Control Flow and Loops.

JavaScript Control Flow and Loops.

10th Grade - University

35 Qs

Exception in Java

Exception in Java

University

41 Qs

Quiz 1 PBO

Quiz 1 PBO

University

45 Qs

Latihan 1 PBO XI RPL 2

Latihan 1 PBO XI RPL 2

10th Grade - University

40 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?