Search Header Logo

Full Stack through java Quiz 18

Authored by Gnaneshwar Reddy

Physical Ed

1st Grade

Used 4+ times

Full Stack through java Quiz 18
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 

Number of primitive data types in Java are?

6

7

8

9

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of float and double in java?

32 and 32

32 and 64

64 and 64

64 and 32

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Automatic type conversion is possible in which of the possible cases?

int to long

long to int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the output of the following code.

int Integer = 24; char String = ‘I’; System.out.print(Integer); System.out.print(String);

compiler error

24 I

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 

Find the output of the following program.

public class Solution{ public static void main(String[] args){ byte x = 127; x++; x++; System.out.print(x); } }

-127

127

129

2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who invented Java Programming?

Guido van Rossum

James Gosling

Dennis Ritchie

Bjarne Stroustrup

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true about Java?

Java is a sequence-dependent programming language

Java is a code dependent programming language

Java is a platform-dependent programming language

Java is a platform-independent programming language

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?