Correct Answer: Interfaces cannot have state, but classes can
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C# Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C# MCQ Questions
What modifier to add instead of '....' to become a true code? public class ClassA { .... int x = 10; } public class Program : ClassA { static void Main(string[] args) { ClassA ob = new ClassA(); Program cc = new Program(); cc.x = 12; ob.x = 19; } }
What is the difference between Convert.ToString() and ToString()?
What is boxing in .Net?
What will be the output of the following code: Console.WriteLine(('?' ?? '???') == '?' ? '??' : '???');
Choose the correct answer for: (1) var _Results = from item in _List where item.Value == 1 select item; (2) var _Results = _List.Where(x => x.Value == 1);
If i == 0, why is (i += i++) == 0 in C#?
Which of the following is the correct statement to combine two URL(s)?
Which is the following is the correct way to convert a Byte Array to a Hexadecimal string, and vice versa?
Can a function be overload with the same number and types of arguments (parameters), but with a different return type?
Which of the following can be used to expose a method as a filed to the outside world?