
Day 4 – Advanced Class Features

Quiz
•
Computers
•
Professional Development
•
Hard
ZIZIE VANESSA
Used 3+ times
FREE Resource
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++; }
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
24/01/2024

Quiz
•
Professional Development
20 questions
LAB NOC SIMULATION - DAY 2

Quiz
•
Professional Development
20 questions
PL SQL

Quiz
•
University - Professi...
16 questions
Czechitas C# 2

Quiz
•
Professional Development
23 questions
Elbrus-Beavers

Quiz
•
Professional Development
23 questions
msp quiz

Quiz
•
University - Professi...
20 questions
Networking Fundamentals - Quiz - Winter 2024

Quiz
•
Professional Development
15 questions
DOT NET-SET1

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade