
Java Programming for Complete Beginners - Java 16 - Step 05 - Exercise Solutions - Book Class and 3 Instances
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to start a new class in Java?
Select 'File' then 'Open'
Use the 'new' keyword
Press Control+N or Command+N
Type 'create class'
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct naming convention for a Java class?
myclass
MyClass
Myclass
myClass
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When creating an instance of a class, which keyword is used?
object
create
new
instance
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to name an object in Java?
Start with a capital letter
Use all uppercase letters
Start with a lowercase letter
Use underscores between words
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Java naming convention for variables?
Kebab case
Camel case
Snake case
Pascal 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?