PreTrainingClassesObjectsMethods

PreTrainingClassesObjectsMethods

Professional Development

10 Qs

quiz-placeholder

Similar activities

Functions on C

Functions on C

Professional Development

15 Qs

Java SE: Programming I

Java SE: Programming I

Professional Development

10 Qs

Java Quiz

Java Quiz

KG - Professional Development

8 Qs

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 Qs

GAGC-Dotnet-SET2

GAGC-Dotnet-SET2

Professional Development

15 Qs

FORMATIVE ASSESSMENT 2 OOPS

FORMATIVE ASSESSMENT 2 OOPS

Professional Development

15 Qs

S1_Java Theory_31.8.2021

S1_Java Theory_31.8.2021

Professional Development

5 Qs

Python training series quiz

Python training series quiz

Professional Development

9 Qs

PreTrainingClassesObjectsMethods

PreTrainingClassesObjectsMethods

Assessment

Quiz

Professional Development, Computers

Professional Development

Medium

Created by

Keven N Mitchell

Used 15+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What are Objects?

Blueprints detailing the states and behaviors of objects

Any entity with states and behaviors

A coordinated set of instructions which can return a value or void depending on it's return type

2.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What are Methods?

Blueprints detailing the states and behaviors of objects

Any entity with states and behaviors

A coordinated set of instructions which can return a value or void depending on it's return type

3.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What are classes?

Blueprints detailing the states and behaviors of objects

Any entity with states and behaviors

A coordinated set of instructions which can return a value or void depending on it's return type

4.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

It's best practice for all classes to have ____.

Their own .java file

A main method

The final access modifier

The abstract keyword

5.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

The main method has a very particular signature. It must look like ____

void main(String[] args)

public static main(String[] args)

public static void main(String[] args)

6.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What portion of the main method's signature can be changed?

public static

void

main

String[] args

7.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What is included in a method declaration, but not a method invokation?

access modifiers

parameter datatypes

a code block

all of the above

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?