How many types of access specifier in c# and vb.net?



How many types of access specifier in c# and vb.net?..

Answer / vignesh

The access-specifiers available in C# are:

Public, Protected, Protected internal & Private

The access-specifiers available in Vb.net are:

Public, Private, Protected, Friend & ProtectedFriend

Is This Answer Correct ?    9 Yes 2 No

Post New Answer

More OOPS Interview Questions

Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

0 Answers  


difference between structure and union.

2 Answers   ADP, Convergys,


How can we use the preprocessor #if and #elseif.

2 Answers  


In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that

6 Answers  


can we create and enter the data & hide files using programmes ?

2 Answers   Wipro,


C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.

1 Answers   Syncfusion,


Why we are use # in begning of programme of c++.

2 Answers   Syntel,


What are the components of marker interface?

0 Answers  


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

0 Answers   Accenture,


What are the 3 principles of oop?

0 Answers  


what is an qt4 interface?

1 Answers   IBM,


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

0 Answers  


Categories