Encapsulation

Encapsulation

University

54 Qs

quiz-placeholder

Similar activities

MIDTERM ITC-103

MIDTERM ITC-103

University

50 Qs

Activity 3 - CC103

Activity 3 - CC103

University

50 Qs

22BCA6A-Quiz2-Java-File Handling

22BCA6A-Quiz2-Java-File Handling

University

56 Qs

quiz oop [encapsulation, inherit, interface, abstract]

quiz oop [encapsulation, inherit, interface, abstract]

University

50 Qs

UTS SISTEM DIGITAL PILIHAN GANDA

UTS SISTEM DIGITAL PILIHAN GANDA

University

50 Qs

OBJECT ORIENTED ANALYSIS DESIGN

OBJECT ORIENTED ANALYSIS DESIGN

University

50 Qs

CC102 - Quiz Finals

CC102 - Quiz Finals

University

50 Qs

PF201: SCCPF2012223

PF201: SCCPF2012223

University

50 Qs

Encapsulation

Encapsulation

Assessment

Quiz

Computers

University

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?