Java Summer Internship Quiz-9

Java Summer Internship Quiz-9

Professional Development

10 Qs

quiz-placeholder

Similar activities

Android App Developer

Android App Developer

Professional Development

10 Qs

Quiz for Jul 20_Connect

Quiz for Jul 20_Connect

Professional Development

10 Qs

BEED 2A - Part II

BEED 2A - Part II

University - Professional Development

15 Qs

  Cert Magento Frontend AD0-E710 - Javascript - Part 1

Cert Magento Frontend AD0-E710 - Javascript - Part 1

Professional Development

15 Qs

IVY-iQuanti-GTM-Weekly Assessment 1-C1B1-29-06-2022

IVY-iQuanti-GTM-Weekly Assessment 1-C1B1-29-06-2022

Professional Development

10 Qs

Day 7

Day 7

Professional Development

10 Qs

Computing Systems

Computing Systems

9th Grade - Professional Development

10 Qs

Tableau Platform Quiz

Tableau Platform Quiz

Professional Development

15 Qs

Java Summer Internship Quiz-9

Java Summer Internship Quiz-9

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Gnaneshwar Reddy

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of an object reference (non-primitive variable) if it is not explicitly initialized?


a) 0

b) null

c) false

d) It depends on the variable type.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a non-primitive data type in Java?


v

b) double

c) float

d) Integer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a true/false value in Java?

a) boolean

b) int

d) float

c) byte

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a non-primitive data type in Java?

a) void

b) new

c) class

d) non-primitive

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  • What is the data type of the literal "3.14" in Java?


  • a) float

  • b) double

  • c) int

  • d) long

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  • What is the range of the byte data type in Java?


  • a) -128 to 127

  • b) 0 to 255

  • c) -32768 to 32767

  • d) -2147483648 to 2147483647

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a single character in Java?


a) char

b) int

c) byte

d) String

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?