Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Which of following does not complete the sentence correctly ?
An Interface.....
 
1- force classes that implement it to declare all the interfaces method
2-is used in place of an abstract class when there is no default implementation to inherit
3-can't be instantiated
4- can be instantiated
 

is the answer no.4 right ? or not
Posted 3-Jan-13 10:33am
Edited 3-Jan-13 10:37am
v2
Comments
Sergey Alexandrovich Kryukov at 8-Jan-13 13:25pm
   
This is not a proper question, this is the abuse, reported as such.
If you want to learn something, ask us, without this lame multiple-choice games.
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

No, you are incorrect. An interface cannot in itself be instantiated. Classes can be instantiated, and can implement interfaces in their entirety.
  Permalink  
v2
Comments
bado2015 at 3-Jan-13 15:41pm
   
Then No.4 will be right in Que ask me Does not Complete it correctly
Marcus Kramer at 3-Jan-13 15:57pm
   
Sorry. Yes. I didn't see the "does not" for some reason. Not enough caffeine today, I think... So I'm off to rectify that situation.
Sergey Alexandrovich Kryukov at 8-Jan-13 13:28pm
   
My 5, but I strongly recommend you to avoid answering any questions with multiple choice, especially as incorrect as this one. I think it's the best to remove them immediately.
—SA
Marcus Kramer at 8-Jan-13 13:50pm
   
Thanks, Sergey.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100