Java Fundamentals

Java Fundamentals

Professional Development

78 Qs

quiz-placeholder

Similar activities

Tin học nâng cao Module 09.2 - Trung Đức Nguyễn

Tin học nâng cao Module 09.2 - Trung Đức Nguyễn

Professional Development

75 Qs

IT102_Midterm Examination

IT102_Midterm Examination

Professional Development

73 Qs

Cloud Computing Quiz

Cloud Computing Quiz

Professional Development

75 Qs

Huawei Storage QuizHCIA Storage CertKingdom 387-464

Huawei Storage QuizHCIA Storage CertKingdom 387-464

Professional Development

79 Qs

switch statements + java

switch statements + java

Professional Development

82 Qs

M.E.C = Mathemtics, English and Computer

M.E.C = Mathemtics, English and Computer

KG - Professional Development

75 Qs

CompTIA A+ 1002 Set #1

CompTIA A+ 1002 Set #1

Professional Development

80 Qs

C Aptitude-2

C Aptitude-2

University - Professional Development

75 Qs

Java Fundamentals

Java Fundamentals

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

CCSS
6.EE.B.6

Standards-aligned

Created by

SrinivasaRao SrinivasaRao

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

78 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Command to compile the Java program

java

javac

javap

javadoc

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

command to run the java program

javac

javap

javadoc

java

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of this method is given parameter via command line arguments?

main()

recursive() method

Any method

System defined methods

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these data types is used to store command line arguments?

Array

Stack

String

Integer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many arguments can be passed to main()?

Infinite

Only 1

System Dependent

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a correct statement about args in the following line of code?


public static void main(String args[])

args is a String

args is a Character

args is an array of String

args in an array of Character

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can command line arguments be converted into int automatically if required?

Yes

No

Compiler Dependent

Only ASCII characters can be converted

Create a free account and access millions of resources

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?