Java Quiz

Java Quiz

University

25 Qs

quiz-placeholder

Similar activities

CES JAVA

CES JAVA

University

20 Qs

Arrays in Java

Arrays in Java

University

25 Qs

coe java 24 june 21 7:30 to 745 pm only

coe java 24 june 21 7:30 to 745 pm only

University

20 Qs

Web Development and Programming

Web Development and Programming

University

20 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Java Object Creation and Classes

Java Object Creation and Classes

University

20 Qs

Multithreading in java

Multithreading in java

University

20 Qs

Introduction to Java

Introduction to Java

University

25 Qs

Java Quiz

Java Quiz

Assessment

Quiz

Science, Computers

University

Medium

Created by

rakhi Nagpal

Used 31+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We are use Scanner Library in java for...
Give permissions to the user
Correcting software errors
Allows user to read data
Allows the user to enter data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Single line comments look like? 
\\
//
/*
*/

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are some possible causes of compile-time syntax errors reported by javac?
Capitalization
Missing semicolons
missing curly brackets
all are true

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword identifies a group of statements and data that work together as a unit?
Main
Static
Class
Package

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes the JRE?
The JRE is Oracle Corporation’s brand name for Java sold at a profit
The JRE is something that runs in your web browser to enable animations
The JRE is the development environment in which you type your source code
The JRE is a combination of the Java Virtual Machine and the Java Class Libraries

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why would you want to add comments to a program?
So programmer can understand the code better
To describe the author of a program and the program's purpose
all are correct
None are correct

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function declaration below best describes the entry point of your program?
void enter(String[] args)
public static void main(String[] args)
public static void main()
static int main(String args)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?