Learn Java from Scratch - A Beginner's Guide - Step 05 - Exercise Solutions - Book Class and Three Instances

Interactive Video
•
Computers
•
9th - 10th Grade
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one way to create a new class in Java?
By importing a package
Using the 'new' keyword
Using 'control north' or 'command north'
By declaring a variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct instance name for a book object in Java?
ArtOfComputerProgramming
artOfComputerProgramming
art_of_computer_programming
ARTOFCOMPUTERPROGRAMMING
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to start the name of a Java class?
With a lowercase letter
With a number
With an underscore
With a capital letter
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, what is the naming convention for variables?
Start with a capital letter
Start with a small letter
Use all uppercase letters
Use underscores between words
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the term used for the practice of capitalizing the first letter of each word in a variable name, except the first word?
Pascal Case
Kebab Case
Snake Case
Camel Case
Similar Resources on Wayground
2 questions
Nomenclature Common Names

Interactive video
•
10th - 12th Grade
10 questions
Diphosphorus Pentoxide Formulas and Ratios

Interactive video
•
9th - 10th Grade
6 questions
Nomenclature Common Names

Interactive video
•
10th - 12th Grade
3 questions
Viruses and Monerans: Virus Shapes and Classification

Interactive video
•
10th - 12th Grade
2 questions
Rust Programming Master Class from Beginner to Expert - More on Variables - Shadowing, Constants

Interactive video
•
9th - 10th Grade
6 questions
Software Concepts and Unique Names

Interactive video
•
9th - 10th Grade
2 questions
Leah Remini at the Celebrity Sightings in Los Angeles at Los Angeles CA. (Footage by WireImage Video/GettyImages)

Interactive video
•
9th - 10th Grade
6 questions
What Was Jesus' Real Name?

Interactive video
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade