C#

Which of the following is way to pass parameters by value
n.swap(a, b);
n.swap(ref a, ref b);
n.swap(out a, out b);
n.swap(&a);
______method copies the reference to the memory location of an argument into the formal parameter.
Value parameters
Reference parameter
output parameters
memory parameters
Find the answer: what is recursive method call? Explain with example
Find the answer: what is recursive method call? Explain with example
_____determines the visibility of a variable or a method from another class
Access specifier
Return type
Method name
Method body
_______is defined 'as the process of enclosing one or more items within a physical or logical package'.
Inheritance
class
Abstraction
Encapsulation
________Abstraction allows making relevant information visible
Inheritance
class
Abstraction
Encapsulation
Encapsulation is implemented by using _________
Class
Method
access specifiers
Method
_________access specifier allows a class to expose its member variables and member functions to other functions and objects.
Public
Private
Protected
None of the above
Write a program to calculate area of circle. The program should consist of two classes and at least one method
0
{"name":"C#", "url":"https://www.quiz-maker.com/QTQVDPVV8","txt":"Which of the following is way to pass parameters by value, ______method copies the reference to the memory location of an argument into the formal parameter., Find the answer: what is recursive method call? Explain with example","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker