Java Data types and Literals

Java Data types and Literals

University

30 Qs

quiz-placeholder

Similar activities

Module 3 - Security Architecture

Module 3 - Security Architecture

University

25 Qs

Aptitude Competition(FY)

Aptitude Competition(FY)

University

25 Qs

Round 1-S1

Round 1-S1

University

25 Qs

1.4 and 1.5

1.4 and 1.5

1st Grade - Professional Development

25 Qs

Decision and Case Control Statements in C

Decision and Case Control Statements in C

University

35 Qs

PRANATA KOMPUTER

PRANATA KOMPUTER

University

31 Qs

Quiz Bootstrap (Fullstack Praktikum)

Quiz Bootstrap (Fullstack Praktikum)

University

25 Qs

P03JARKOM

P03JARKOM

University

25 Qs

Java Data types and Literals

Java Data types and Literals

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

ALDO STALIN J L

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is long data type literal?

0x99fffL

ABCDEFG

0x99fffa

99671246

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

System.out.println("one\rtwo");

two

onetwo

one\rtwo

twoone

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

System.out.println("one\btwo");

one two

onetwo

one

two

ontwo

4.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

System.out.println("\"Java Program\"");

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

System.out.println("b="+0b101);

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

How many primitive data types are there in java?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the smallest integer datatype in java?

byte

int

small

smallint

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers