Java Programming

Quiz
•
Computers
•
University
•
Medium

Anshu Sharma
Used 136+ times
FREE Resource
40 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
JDK stands for________
2.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
JVM stands for________
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a comment in the Java language?
/ comment /
/* comment */
/ comment */
<-- comment -->
4.
MULTIPLE CHOICE QUESTION
20 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)
5.
MULTIPLE CHOICE QUESTION
20 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;
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which Java data type is used to store 64-bit floating-point numbers?
int
long
float
double
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The import statement used in Java to access the Scanner class is:
import java.Scanner;
import java.util.Scanner;
import java.package.Scanner
import.java.util.Scanner;
Create a free account and access millions of resources
Similar Resources on Wayground
35 questions
python

Quiz
•
11th Grade - University
41 questions
FINAL EXAM

Quiz
•
University
40 questions
Java Quiz 2

Quiz
•
University
40 questions
Java Quiz

Quiz
•
University
35 questions
JavaScript Control Flow and Loops.

Quiz
•
10th Grade - University
38 questions
Unit_4_Object Oriented Programming with Java

Quiz
•
University
35 questions
JAVA BASIC 2

Quiz
•
University
36 questions
Java Programming Quiz

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade