Java Classes & Objects

Flashcard
•
Computers
•
University
•
Hard
Quizizz Content
FREE Resource
Student preview

3 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Predict the output of following Java program?
class Test {
int i;
}
class Main {
public static void main(String args[]) {
Test t;
System.out.println(t.i);
}
}
Back
Compiler Error
2.
FLASHCARD QUESTION
Front
Predict the output of following Java program: class Test { int i; } class Main { public static void main(String args[]) { Test t = new Test(); System.out.println(t.i); } }
Back
0
3.
FLASHCARD QUESTION
Front
Given that Student is a class, how many reference variables and objects are created by the following: Student studentName, studentId; studentName = new Student(); Student stud_class = new Student();
Back
Three reference variables and two objects are created.
Similar Resources on Wayground
6 questions
UF Campus Religious Resources

Flashcard
•
University
6 questions
Teen Wolf

Flashcard
•
KG - Professional Dev...
5 questions
QC FNES 146 pre/post Chapter 2

Flashcard
•
University
10 questions
Java Basics 1

Flashcard
•
University
8 questions
Educational Development 268 Flashcard

Flashcard
•
KG
10 questions
Features of Java

Flashcard
•
University
10 questions
CMP128 Java Ch. 04 Loops Pt. 2

Flashcard
•
University
3 questions
Student Behavior Management Scenarios

Flashcard
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade