A) Not PossibleB) Using /Main along with class name in csc.exeC) By just providing the class name to csc.exe
Latest Answer: open the project properties, in the common properties/general set the start up object(it will list all the classes having main function). ...
A) TrueB) False
Latest Answer: If the XML is not well-formed, a warning is generated and the documentation file will contain a comment saying that an error was encountered. For more information on well-formed XML, ...
A) IsB) AsC) InD) Of
Latest Answer: a ...
A) TrueB) FalseExplanation: If a function is declared virtual it needs to be overridden in subclass
A) Static functionsB) Member fieldsC) Instance functions
Latest Answer: (A) - "A static member ..... cannot be marked as override, virtual, or abstract(B) - "The modifier 'virtual' is not valid for this item ...
A) TrueB) FalseExplanation: Sealed class cannot be inherited
Latest Answer: False. The sealed class can not be inherited. This can be acheived by using the keyword "sealed". what this keyword does, it tells the compiler that it is the last class in the class hierarchy. The best example of sealed class is "String Class." Moreover, ...
A) Interface definitions does not have implementationB) Interfaces must be declared as publicC) Interfaces can be instantiatedD) Interface does not have constructorsExplanation: Interfaces can only be
Latest Answer: Interface definition does not have implementation, they contain only signatures of methods, delegates or events. Interface members are implicitly public, explicit modifiers are not allowed.Interface cannot be instantiated directlyInterface cannot ...
A) TrueB) False
Latest Answer: Interface members are implicitly public, explicit modifiers are not allowed. ...
A) VirtualB) StaticC) PrivateD) All of the above
Latest Answer: answer is all of the aboveinterface members are implicitly public, explicit modifiers are not allowed. ...
A) Main MethodB) Constructor MethodC) Destructor MethodExplanation: Constructor is the method which is implicitly created when ever a class is instantiated
Latest Answer: Constructor is called when a class is instantiated. ...
View page << Previous 8 9 10 11 [12] 13 14 15 16 17 Next >>

Go Top