Learn Java from Scratch - A Beginner's Guide - Step 05 - Exercise Solutions - Book Class and Three Instances
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade