
Day 4 – Advanced Class Features
Authored by ZIZIE VANESSA
Computers
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is an advanced class feature?
Inner Classes
Reflection
Interfaces
Abstract Classes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are Inner classes?
classes that can't be instantiated and are meant to be subclassed
classes defined within another class
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Explain reflection
are a special type of class that represent a fixed set of constants
a form of metadata that can be added to your Java code
allows you to inspect and manipulate classes, interfaces, fields, and methods at runtime
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How lamda expression are used?
used to provide additional information to the compiler, to other developers, or to runtime tools.
used to define anonymous functions that can be passed as arguments to methods.
to write code that's reusable and more robust.
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
choose the correct way to declare static
static initializer :
static { counter = 0; }
static variable :
static int counter;
static method :
static { counter = 0; }
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How does static variable is declared?
static int counter;
int static counter;
int counter static;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to declare static method ?
static void incrementCounter() { counter++; }
void static incrementCounter() { counter++; }
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
20 questions
Pre-Assessment: Java Basics
Quiz
•
Professional Development
16 questions
Prometheus and monitoring
Quiz
•
Professional Development
16 questions
Sec+ - 8D - Vulnerability Analysis and Remediation
Quiz
•
Professional Development
15 questions
Software Testing Methodologies and Standards
Quiz
•
Professional Development
15 questions
Systems Architecture GCSE
Quiz
•
Professional Development
24 questions
Unit4_Servlets_Exam1
Quiz
•
Professional Development
20 questions
Mobile Device
Quiz
•
Professional Development
16 questions
Think it through
Quiz
•
University - Professi...
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L5_22-23
Lesson
•
KG - Professional Dev...
10 questions
March Quiz
Quiz
•
Professional Development
5 questions
Copy of G5_U6_L8_22-23
Lesson
•
KG - Professional Dev...
10 questions
suffixes FUL OR LESS
Quiz
•
Professional Development