
ICT3_FT_W3-4_SW2_Class_and_Modifiers

Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
JB Presa
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following method names follows proper camel case naming conventions?
add_numbers()
AddNumbers()
addNumbers()
ADD_NUMBERS()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to call a method with parameters?
MethodName();
MethodName(10, 20);
MethodName[];
Call.MethodName();
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a return statement in a method?
It specifies the data type of the method
It stops the execution of the program
It passes a value back to the caller
It makes a method static
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about static variables?
They belong to the class itself
They belong to an instance of a class
They are initialized every time a new object is created
They can be declared inside methods
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a static method?
It belongs to an instance of a class
It cannot be called
It requires parameters
It belongs to the class itself
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if you try to instantiate a static class?
It will throw an error
It will compile successfully
It will create an instance of the class
It will create multiple objects
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a method is declared as internal, where can it be accessed?
Only inside the class
Only inside the namespace
Anywhere in the project
Only in derived classes
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Operating System(2)

Quiz
•
10th Grade - University
10 questions
Javascript DOM

Quiz
•
11th Grade
10 questions
1º Quiz de HTML, CSS e JavaScript

Quiz
•
11th Grade
15 questions
Understanding Loops in C Programming

Quiz
•
1st Grade - University
6 questions
Quiz on Emerging Technologies and Brain Computer Interfaces

Quiz
•
10th Grade - University
15 questions
XML dan Java

Quiz
•
11th Grade
11 questions
PPMSG BIM2 PART 1

Quiz
•
9th - 12th Grade
11 questions
Mail Merge

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University