Search Header Logo

Unit 24 - Java Basics

Authored by Rawaan Khokhar

Computers

University

Used 316+ times

Unit 24 - Java Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?