1.what is the parameter in this method known as? public

Project Description:

1.what is the parameter in this method known as? public void displayabsolutevalue(int value = 1) a.modified b.optional c.named d.default 2.when you create an abstract method, how do you use that method in a derived class? a.you must overload the method in your derived class. b.you must override the method in your derived class. c.abstract methods cannot be used in derived classes. d.you need to declare the method as virtual in your derived class. 3.how do you enforce encapsulation on the data members of your class? a.create private data members. b.create private methods. c.use public properties. d.use private properties. e.use the protected access modifier on methods, properties, and member variables. 4.boxing refers to: a.encapsulation b.converting a value type to a reference type c.converting a reference type to a value type d.creating a class to wrap functionality in a single entity5.what is one advantage of using named parameters? a.you can pass the arguments in to the method in any order using the parameter names. b.you can pass in optional arguments as long as you use the parameter names in your arguments. c.named parameters make compiling much faster. d.name parameters do not affect compile time. 6.what is an advantage of using generics in .net? a.generics enable you to create classes that span types. b.generics enable you to create classes that accept the type at creation time. c.generics perform better than nongeneric classes. d.generics do not use optional parameters. 7.what does the <t> designator indicate in a generic class? a.it is the parameter for all arguments passed in to the class constructor. b.it is the parameter designator for the default method of the class. c.it is a placeholder that will contain the object type used. d.it is a placeholder that will serve as the class name. 8.how are the values passed in generic methods? a.they are passed by value. b.they are passed by reference. c.they must be encapsulated in a property. d.they are passed during class instantiation.
Skills Required:
Project Stats:

Price Type: Fixed

Project Budget: $0 to $10
Total Proposals: 1
1 Current viewersl
60 Total views
Project posted by:


Proposals Reputation Price offered
  • 4.7
    29 Jobs 16 Reviews
    $20 in 2 Days