
Encapsulation

Quiz
•
Computers
•
University
•
Easy
Asmaa Ahmed
Used 1+ times
FREE Resource
54 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class person {public int stuAge;private string StuName;public void setname(string name){StuName = name;}
A. Object from class person can access stuAge and StuName
B. Object from class person can access stuAge only
C. Object from class person can access stuAge and setname
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The process of aggregating all fields, properties, and methods into one unit is known as
A. Encapsulation
B. polymorphism
C. Inheritance
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The concept of linking both data and functionality together to keep it safe from unauthorized access is
A. Encapsulation
B. polymorphism
C. Inheritance
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When hiding fields, properties, and methods within a single envelope, they can be accessed via
A. Form
B. Object
C. Project
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we want to make the member available to all parts of the project, we use....... in Visual Basic
A. Protected
B. Friend
C. internal
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we want to make the member available to all parts of the project we use....... in C#.
A. Protected
B. Friend
C. internal
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you control what appears to the user of class ( fields, properties, and methods) and what does not appear, this is known as
A. Protected
B. Encapsulation
C. polymorphism
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Java Programming Quiz

Quiz
•
University
50 questions
Day 2 - Java Test (class, object, static)

Quiz
•
University
55 questions
UJI KOMPETENSI KELAS XI TKJ

Quiz
•
11th Grade - University
50 questions
Final Exam : PHP V.1

Quiz
•
University
50 questions
Android Development Quiz

Quiz
•
University
50 questions
UJIAN MID SEMESTER 1 XII RPL PEMROGRAMAN WEB DAN PERANGKAT BERGE

Quiz
•
University
50 questions
Blockchain Quiz

Quiz
•
University
53 questions
Konsentrasi Keahlian TKJ

Quiz
•
12th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University