
Java Programming Quiz

Quiz
•
Computers
•
University
•
Hard
Mohanapriya P
Used 4+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the output of following Java program class Main { public static void main(String args[]){ final int i; i = 20; i = 30; System.out.println(i); } }
30
Compiler Error
Garbage value
0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the output of following Java program // Note static keyword after import. import static java.lang.System.*; class StaticImportDemo { public static void main(String args[]) { out.println("Technical Training"); } }
Compiler Error
Runtime Error
Technical Training
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class Main { public static void main(String args[]) { int t; System.out.println(t); } }
0
garbage value
compiler error
runtime error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following option leads to the portability and security of Java?
Bytecode is executed by JVM
The applet makes the Java code secure and portable
Use of exception handling
Dynamic binding between objects
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a Java features?
Dynamic
Architecture Neutral
Use of pointers
Object-oriented
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_____ is used to find and fix bugs in the Java programs.
JVM
JRE
JDK
JDB
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of float and double in java?
32 and 64
32 and 32
64 and 64
64 and 32
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java

Quiz
•
University
15 questions
Java Exception Handling

Quiz
•
University
15 questions
Mile Stone 1

Quiz
•
University
15 questions
Викторина по основам JavaScript

Quiz
•
9th Grade - University
15 questions
Visual Basic

Quiz
•
University
14 questions
Lets explore Java

Quiz
•
University
20 questions
Java, part I

Quiz
•
11th Grade - University
15 questions
Basic Java Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University