Java Fundamentals

Quiz
•
Computers
•
Professional Development
•
Hard
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
Similar Resources on Wayground
80 questions
CompTIA A+ 1002 Set #1

Quiz
•
Professional Development
73 questions
RL. Unidad Didáctica 3

Quiz
•
Professional Development
82 questions
switch statements + java

Quiz
•
Professional Development
80 questions
Python Test

Quiz
•
Professional Development
78 questions
Split String Method + java-Visuals

Quiz
•
Professional Development
80 questions
CSA unit 6 test review

Quiz
•
Professional Development
76 questions
OOPs concepts in java-visual

Quiz
•
Professional Development
80 questions
CompTIA IT 11

Quiz
•
Professional Development
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade