Java Fundamentals

Java Fundamentals

Professional Development

78 Qs

quiz-placeholder

Similar activities

Programación y Estructuras de Datos - Postest

Programación y Estructuras de Datos - Postest

Professional Development

75 Qs

Java Basics

Java Basics

Professional Development

81 Qs

TIK - CTS

TIK - CTS

Professional Development

73 Qs

preTEST Pranata Komputer Terampil Part 1

preTEST Pranata Komputer Terampil Part 1

10th Grade - Professional Development

80 Qs

Level 1

Level 1

Professional Development

80 Qs

Milestone-4 MCQ Practice Test

Milestone-4 MCQ Practice Test

Professional Development

80 Qs

CSA unit 6 test review

CSA unit 6 test review

Professional Development

80 Qs

Split String Method + java-Visuals

Split String Method + java-Visuals

Professional Development

78 Qs

Java Fundamentals

Java Fundamentals

Assessment

Quiz

Computers

Professional Development

Hard

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?