
Java Programming Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Mohanapriya P
Used 4+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
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
19 questions
Quiz sobre Estructuras Selectivas en Java
Quiz
•
12th Grade - University
15 questions
Monday Week#2
Quiz
•
University
20 questions
quizz tkinter
Quiz
•
11th Grade - University
15 questions
Algoritma dan Pemrograman Bab 1
Quiz
•
University
20 questions
Social Issues and Professional Practices Midterm Exam
Quiz
•
University
15 questions
MBBT-2
Quiz
•
University
20 questions
C Quest 2.0
Quiz
•
University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
