IP Quiz#2

IP Quiz#2

Professional Development

17 Qs

quiz-placeholder

Similar activities

Task 1 | MR Training

Task 1 | MR Training

Professional Development

20 Qs

Developmental Economics Mid Exan For study

Developmental Economics Mid Exan For study

Professional Development

15 Qs

Frontend Programming Junior

Frontend Programming Junior

Professional Development

15 Qs

world of coffee 2

world of coffee 2

Professional Development

18 Qs

Financial Accounting Quiz

Financial Accounting Quiz

Professional Development

20 Qs

Super Quiz (Schools of Psychology)

Super Quiz (Schools of Psychology)

Professional Development

15 Qs

Maintenanace of level instruments

Maintenanace of level instruments

Professional Development

16 Qs

Linear Programming Quiz

Linear Programming Quiz

Professional Development

15 Qs

IP Quiz#2

IP Quiz#2

Assessment

Quiz

Others

Professional Development

Hard

Created by

Elyssa Minette Dato

Used 6+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an object in Java?

An instance of a class.

A template, pattern or blueprint in creating objects.

A method in Java

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a class in Java?

An instance of a class.

A template, pattern or blueprint in creating objects.

A method in java.

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to create an instance of a class?

new

classname

object

reference

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an advantage of Object-Oriented Programming?

It helps in creating flexible and efficient code.

Reusability of code

Modularity

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

null

name

0

myDog

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

null

name

Chooey

myDog

7.

FILL IN THE BLANK QUESTION

1 min • 3 pts

Write the correct code for creating an instance of class Cat.

Note: objectname is myCat.

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?