Java OOP Connections

Java OOP Connections

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Quiz KD Class Library di Java

Quiz KD Class Library di Java

11th Grade

16 Qs

AP CSA Unit One Review

AP CSA Unit One Review

11th Grade

23 Qs

CSAwesome Unit 1 Vocabulary

CSAwesome Unit 1 Vocabulary

10th - 12th Grade

23 Qs

Java, part I

Java, part I

11th Grade - University

20 Qs

AP CS Test 0 Module 1

AP CS Test 0 Module 1

9th - 12th Grade

17 Qs

OOP Long Quiz

OOP Long Quiz

12th Grade

17 Qs

Introduction to Java

Introduction to Java

10th Grade

15 Qs

X Comp Quiz

X Comp Quiz

10th Grade

17 Qs

Java OOP Connections

Java OOP Connections

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Carol Luce

Used 92+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A Java block is formed by enclosing statements using open and close curly brackets. True or False?

True

False

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identifiers can start with a number. True or False?

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This is the general structure for a method:

<Returnvalue type> <Method Name> (argument / s)

<Modifier> < type> <Method Name> (parameter / s)

public static void main (String[ ] args)

<Method Name> (parameter)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The difference between a static and non static method is:

For a non static method the user needs to create object in a class to call that method.

A non-static method performs only a specific task.

There is no significant difference between a static and non - static method.

Both are bounded with a class.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

The data type for non returning method is:

int

double

void

public static

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Identify the type of error that exists in this method program.

Logic error

runtime error

syntax error

Value error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is wrapping of data into a single unit called class called?

Abstraction

Interface

Encapsulation

Instantiation

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?