
Quizz_TG
Quiz
•
Other
•
University
•
Practice Problem
•
Easy
Q Mr.
Used 6+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
What is the output for the below code ?
2.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
What is the output for the below code ? public class A { int k; boolean istrue; static int p; public void printValue() { System.out.print(k); System.out.print(istrue); System.out.print(p); } } public class Test { public static void main(String argv[]) { A a = new A(); a.printValue(); } }
3.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
What is the output for the below code ? package com; class Animal { public void printName() { System.out.println("Animal"); } } package exam; import com.Animal; public class Cat extends Animal { public void printName() { System.out.println("Cat"); } } package exam; import com.Animal; public class Test { public static void main(String[] args) { Animal a = new Cat(); a.printName(); } }
4.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
What is the output for the below code ? public class A { static { System.out.println("static"); } { System.out.println("block"); } public A() { System.out.println("A"); } public static void main(String[] args){ A a = new A(); } }
5.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
What is the output for the below code ? 1. public class Test { 2. public static void main(String[] args){ 3. int i = 010; 4. int j = 07; 5. System.out.println(i); 6. System.out.println(j); 7. } 8. }
6.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
What is the output for the below code ? public class Test { public static void main(String[] args) { String value = "abc"; changeValue(value); System.out.println(value); } public static void changeValue(String a) { a = "xyz"; } }
7.
MULTIPLE CHOICE QUESTION
2 mins • Ungraded
try{ File f = new File("a.txt"); }catch(Exception e){ }catch(IOException io){ } Is this code create new file name a.txt ?
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
40 questions
OSE: Week 4
Quiz
•
8th Grade - University
35 questions
ENTREPRENEURSHIP DEVELOPMENT
Quiz
•
University
40 questions
UAS - Basis Data A (2025)
Quiz
•
University
40 questions
CPS2213 EDUCATIONAL PSYCHOLOGY TEST CLO3
Quiz
•
University
40 questions
ITIL
Quiz
•
University
40 questions
Prelim Exam Advertising
Quiz
•
University
35 questions
AP Seminar Glossary
Quiz
•
9th Grade - University
40 questions
CONTACT (PRE SOLO) ชุดที่ 2
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
