csharp Class Questions & Answers

Question 6: Will the following code compile?

public class @class{


Question 7: A constructor can have a return type.

Question 8: A constructor can have a different name than a class name.


Question 9: A constructor can be public, private, or protected.

Question 10: Which of the following statements is TRUE about constructors?