Java Classes & Objects

Flashcard
•
Computers
•
University
•
Hard
Wayground 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
7 questions
Commercial Learner Permit Knowledge

Flashcard
•
11th Grade
10 questions
Idiomatic Expressions for Intermediate Spanish Language Learners

Flashcard
•
12th Grade
10 questions
Growth vs. Fixed Mindset

Flashcard
•
12th Grade
10 questions
Differentiated Instruction

Flashcard
•
Professional Development
11 questions
Smarter Balance Site Training - Portola, Orange USD

Flashcard
•
Professional Development
4 questions
NSO Day 1

Flashcard
•
University
9 questions
Flashcard

Flashcard
•
KG - University
9 questions
Test Security and Confidentiality 24-25

Flashcard
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University