Which of the following is a comment in the Java language?
Java Programming Quizz-GX

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Andri Pramono
Used 18+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
/ comment /
/* comment */
/ comment */
<-- comment -->
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct main() method signature in Java?
public static void main (String [] args)
public static void Main (String [] args)
public static void main (string [] args)
public static void main (String args)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable declaration in Java?
int 1myInteger = 0;
int int = 0;
Int my Integer = 0;
int myInteger = 0;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Java data type is used to store 64-bit floating-point numbers?
int
long
float
double
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the problem with this code?
Line 1: String myName = "Mary Jacobson";
Line 2: System.out.println ("My name is " + myname);
Line 2: should be System.out.println ("My name is myName");
Line 2: should be System.out.println ("My name is " + myName);
Line 2: should be System.out.display("My name is " + myname);
There is no problem with the code
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is pseudocode?
A simple java-like programming language
Statements in plain English
A control structure used in Java
A java class
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
24
32
23
32
Create a free account and access millions of resources
Similar Resources on Quizizz
21 questions
CodeHS JavaScript Control Functions

Quiz
•
8th - 12th Grade
20 questions
Array

Quiz
•
10th - 12th Grade
20 questions
JAVA FUNDAMENTALS

Quiz
•
9th - 12th Grade
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
20 questions
Computer Application Practice Quiz Class 10

Quiz
•
10th Grade
20 questions
QUIZ DASAR DASAR PEMROGRAMAN JAVA

Quiz
•
11th Grade - University
20 questions
terstruktur

Quiz
•
10th Grade
20 questions
UTS DASPRO

Quiz
•
1st - 10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade