Java Fundamentals
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Standards-aligned
SrinivasaRao SrinivasaRao
Used 24+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
