Arrays on C# related Questions and Answers

Question 1 : Select the correct declaration of the defining array of parameters:
1. void func(int[] x) {

}
2. void func(int x) {

}
3. void func(param int[]) {

}
4. void fun(param int[] x) {

}
View Answer   Discuss with Members

Question 2 : The modifiers used to define an array of parameters or list of arguments:
1. ref
2. out
3. param
4. var
View Answer   Discuss with Members

Question 3 : The method in which large or variable number of arguments are handled is known as:
1. Value parameters
2. Output parameters
3. Parameter arrays
4. None of the mentioned
View Answer   Discuss with Members

Question 5 : Keyword used to define call by reference parameter in C# .NET?
1. &
2. out
3. ref
4. &&
View Answer   Discuss with Members

Question 6 : Which of these access specifiers must be used for main() method?
1. private
2. public
3. protected
4. none of the mentioned
View Answer   Discuss with Members

Question 9 : What is the process by which we can control parts of a program that can access the members of a class?
1. Polymorphism
2. Abstraction
3. Encapsulation
4. Recursion
View Answer   Discuss with Members

Question 10 : Which of these base classes are accessible to the derived class members?
1. static
2. protected
3. private
4. Shared
View Answer   Discuss with Members


View 1 - 10 of 39 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter