Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement
HR
Current affairs
Engineering
MCA
MBA
Online Test
Videos
Login
Online Practice Test
>
Csharp.NET
« Previous
Next »
If a class is using an interface, it must
Options
- inherit the properties of the interface
- contain the same method definitions as the interface
- a and b
CORRECT ANSWER : a and b
Discussion Board
WRONG
You do not inherit properties from an interface, you IMPLEMENT them. Implement, not inherit. Therefore, the question is wrong.
Matthew 04-26-2016 02:58 PM
Bad choice of answers
Again, as stated above.
Shaun 08-13-2014 05:49 AM
Options are bad
The answers given are not framed properly.
Aravindan 07-8-2014 02:36 AM
Question is broken indeed
Yeah, badly worded and 'create an interface object' is meaningless. Should probably be 'a' and 'b' if 'a' was 'implement the properties...'.
Andrew Cope 10-26-2013 03:38 AM
Question is broken
This question is either wrong or worded poorly. An instance of an interface can not be created/instantiated. Not is it possible to inherit an interface, interfaces are implemented. It doesn't even sound correct to say that the class uses an interface or that it contains the same methods. The interface does not contain methods, it contains method definitions.
Sharon 09-20-2013 01:38 PM
what is "create an interface object"
what is "create an interface object" and why class must do it if the class is using an interface?
rotem 07-23-2013 06:09 PM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
ASP.NET (41)
ASP.NET (16)
ASP.NET (16)
ASP.NET for Freshers (19)
ASP.NET for Experienced (19)
ASP.NET (20)
ASP.NET (20)
ASP.NET (25)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
Dot.Net (100)
.NET Framework (26)
.NET Caching (7)
.NET Remoting and webservices (10)
.NET Security (11)
ADO.NET (10)
C#.NET (25)
VB.NET (33)
DOT.NET (10)
C#.NET freshers (20)
C#.NET freshers (20)
C#.NET experienced (20)
C#.NET (25)
C#.NET (20)
Sharepoint (20)
Sharepoint 2007 (15)
WCF (50)
WPF (45)
Advertisement
▲