Java Programming

Java Programming

University

40 Qs

quiz-placeholder

Similar activities

CPP SHS

CPP SHS

University

45 Qs

Internet Safety Quiz

Internet Safety Quiz

7th Grade - University

35 Qs

Form 4 Hardware Revision

Form 4 Hardware Revision

University

40 Qs

A+206 - SOHO Configuration

A+206 - SOHO Configuration

10th Grade - University

35 Qs

Loop Control Statement in C

Loop Control Statement in C

University

41 Qs

ôn tập giữa kì 2 lớp 11

ôn tập giữa kì 2 lớp 11

11th Grade - University

37 Qs

Comptia Network+ chapter 1-3 exam

Comptia Network+ chapter 1-3 exam

11th Grade - University

45 Qs

Python Operators

Python Operators

University

35 Qs

Java Programming

Java Programming

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Anshu Sharma

Used 145+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?