
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
1st Long Quiz MIL
Quiz
•
12th Grade - University
35 questions
ABELE Quiz 1 (Hydrometeorology)
Quiz
•
University
36 questions
Ms. V., Effectively COMMUNICATING BUSINESS MATH!
Quiz
•
9th Grade - University
40 questions
M3.Roles and Responsibilities
Quiz
•
University
35 questions
Elections, Rural LSG, Urban LSG
Quiz
•
9th Grade - University
45 questions
Assesment Prakarya 8
Quiz
•
8th Grade - University
35 questions
CRI 200 - Long Quiz (BSCRIM3-03)
Quiz
•
University
45 questions
แบบทดสอบวิชาไมโครคอนโทรลเลอร์
Quiz
•
KG - Professional Dev...
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Other
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
