MCQOPTIONS
Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Testing Subject
General Aptitude
Logical and Verbal Reasoning
English Skills Ability
Technical Programming
Current Affairs
General Knowledge
Finance & Accounting
GATE (Mechanical Engineering)
Chemical Engineering
→
Csharp
→
Test
→
abc s1 = new abc(1);
1.
abc s1 = new abc(1);
A.
abc s1 = new abc();
B.
abc s2 = new abc(1.4f);
C.
abc s2 = new abc(1, 1.4f);
Answer» B. abc s2 = new abc(1.4f);
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
WHICH_OF_THE_FOLLOWING_STATEMENTS_IS_CORRECT_ABOUT_CONSTRUCTORS_IN_C.NET??$
abc s1 = new abc(1);
Correct way of defining constructor of the given class as and when objects of classes are created is:
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies