Which of the following access specifier in C# allows a class to hide its member variables and member functions from other class objects and functions, except a child class ((within the same application)) ?

computer science

Description

1.Given the following code, what would be the output? int a, c; float b; a=9; b=3.4f; c=a+b; Console. Write(c) n

(1 Point)

12.4

Error can't add numbers of different types

12

0.4

2.We can use reserved keywords as identifiers in C#?

(1 Point)

True

False

Sometimes true sometimes false

3.Which of the following operator represents a conditional operation in C#?

(1 Point)

? :

is

as

*

4.Which of the following access specifier in C# allows a class to hide its member variables and member functions from other class objects and functions, except a child class ((within the same application)) ?

(1 Point)

Protected Internal

Protected

Private

Public


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.