πŸ“Š C#
Q. Which of the following is the correct way to create an object of the
class Sample?
1. Sample s = new Sample();
2. Sample s;
3. Sample s; s =new Sample();
4. s = new Sample();
  • (A) 1,3
  • (B) 2,4
  • (C) 1,2,3
  • (D) 4,5
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1,3

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
210
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
96%
Success Rate