Java Fundamentals

Java Fundamentals

Professional Development

78 Qs

quiz-placeholder

Similar activities

Cybersecurity

Cybersecurity

Professional Development

77 Qs

MortalKombyte

MortalKombyte

University - Professional Development

76 Qs

Computer Repairs and Maintenance Final Exam

Computer Repairs and Maintenance Final Exam

Professional Development

80 Qs

C C++ Final Test 20-APR-2022

C C++ Final Test 20-APR-2022

Professional Development

78 Qs

functions, file, random , date, math

functions, file, random , date, math

Professional Development

83 Qs

Machine Learning on Azure( Quiz #02)

Machine Learning on Azure( Quiz #02)

Professional Development

75 Qs

DBMS query optimization

DBMS query optimization

Professional Development

81 Qs

AI

AI

University - Professional Development

79 Qs

Java Fundamentals

Java Fundamentals

Assessment

Quiz

Computers

Professional Development

Hard

CCSS
6.EE.B.6

Standards-aligned

Created by

SrinivasaRao SrinivasaRao

Used 24+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?