Q. For the below mentioned code snippet:
The equivalent statement is

Code:
var obj = new Object();
  • (A) Object obj=new Object();
  • (B) var obj= new Object;
  • (C) var obj;
  • (D) var obj = Object();
πŸ’¬ Discuss
βœ… Correct Answer: (B) var obj= new Object;

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
281
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Vishal Gupta
Publisher
πŸ“ˆ
87%
Success Rate