Search Header Logo

Java Programming

Authored by Viswanathkani T

Computers

University

Used 49+ times

Java Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

All Java programs begin execution in this method:

start()

main()

runUntilHalt(int)

main(String[])

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The Collections Framework is a group of Java components in the

java.lang package

com.java.util package

java.structures package

java.util package

java.storage package

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Your custom package code space should take the following form:

anything-i-want

#$_3@&-*

<org-category>.<org-name>.<project-name>

<target-platform>.<year>.<month>

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To output data to the screen, we use a command called?

Print.out.line

System.out.print

Print Screen

Data.out.printline

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Select the properly formed comment:

\* This is a valid comment *\

/ This is a valid comment

// This is a valid comment

?* This is a valid comment *?

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Select the properly formed output line to generate the following output:

Hello World!

System.out.print(Hello World!);

System.out.println("Hello World!");

System.out.print("Hello World);

System.out.print("Hello World!")

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output for the following statement:

System.out.print("1"+"1");

11

2

Error Message

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?