2.1 Intro To Java

2.1 Intro To Java

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

5 questions

Show all answers

1.

FLASHCARD QUESTION

Front

A file containing a class called MyClass should be saved as: My_Class.java, MyClass.java, myclass.js, MyClass.js

Back

MyClass.java

2.

FLASHCARD QUESTION

Front

True or False:
Java is case-sensitive: 'MyClass' and 'myclass' has different meaning.

Back

True

3.

FLASHCARD QUESTION

Front

Insert the missing part of the code below to output "Hello World":
public class MyClass {
public static void main(String[] args) {
_____________________________("Hello World");
}
}

Back

System.out.println

4.

FLASHCARD QUESTION

Front

In Java, each code statement must end with a ?

Back

semicolon

5.

FLASHCARD QUESTION

Front

_____ is the name Java looks for to determine where to start running the program.

Back

main

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?