Java Programming

Java Programming

University

40 Qs

quiz-placeholder

Similar activities

Topic 1 Introduction to Computer System

Topic 1 Introduction to Computer System

University

40 Qs

IP MIDTERM

IP MIDTERM

University

45 Qs

Introduction to Multimedia

Introduction to Multimedia

University

45 Qs

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

University

40 Qs

Information Theory №1

Information Theory №1

University

38 Qs

input devices

input devices

University

35 Qs

BCS Level 4 Software Development Methodologies

BCS Level 4 Software Development Methodologies

University

41 Qs

Basic Algorithm in C (Data type, Expression, Branching, Looping)

Basic Algorithm in C (Data type, Expression, Branching, Looping)

University

40 Qs

Java Programming

Java Programming

Assessment

Quiz

Computers

University

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?