Unit 24 - Java Basics

Unit 24 - Java Basics

University

10 Qs

quiz-placeholder

Similar activities

OOP

OOP

University

13 Qs

Java Programming

Java Programming

University

10 Qs

Java Programming

Java Programming

University

15 Qs

Python Basics

Python Basics

KG - University

15 Qs

Core Java Quiz

Core Java Quiz

University

10 Qs

Java quiz

Java quiz

University

8 Qs

C Quiz2

C Quiz2

University

12 Qs

Unit 24 - Java Basics

Unit 24 - Java Basics

Assessment

Quiz

Computers

University

Medium

Created by

Rawaan Khokhar

Used 316+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When programming, you have to use Data Types. Which of the following refers to interfaces, classes, and arrays?

Primitive

Non-Primitive

Arrays

Boolean

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Classes and interfaces use a certain type of data type. Which one is it?

Primitive

Non-primitive

Floating Point

None of the answers

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the main difference between float and double data types?

4.1 is an example of float.

4.11 is an example of double.

Float consists of 8 bytes, and double consists of 4 bytes.

Float consists of 4 bytes, and double consists of 8 bytes.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What kind of data type is used for numbers?

Integer

String

Boolean

Floating Point

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Java Tokens help the compiler. Which of the following is a type of Java Token?

Identifiers

Keywords

Operators

All of the answers.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a blueprint and determines how an object will behave?

Object

Method

Attribute

Class

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a typical Java program, which of the following are crucial?

Methods, Attributes, Classes

Classes, Methods, Data Types

Classes, Methods, Objects

None of the answers

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?