Search Header Logo

Core Java Java Intro and data types

Authored by Kundan Kumar

Computers

University

Used 1+ times

Core Java Java Intro and data types
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a feature of Java?

Platform Independent

Object-Oriented

Memory Unsafe

Robust

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java code is compiled into an intermediate form called:

Object Code

Bytecode

Binary Code

Source Code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Java primitive data type?

String
Float
Boolean
Integer

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the size (in bits) of a Java ‘char’ data type?

8 bits
16 bits
32 bits
64 bits

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these data types is used to store decimal numbers in Java?

int and char
boolean and string
float and double
byte and short

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the range of the Java byte data type?

-128 to 128
-256 to 255
-128 to 127
0 to 255

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the range of the Java short data type?

0 to 65535
-32767 to 32768
-32768 to 32767
-128 to 127

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