Click here to Skip to main content
15,879,490 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Updated 3-Jan-13 9:37am
v2
Comments
Sergey Alexandrovich Kryukov 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

No, you are incorrect. An interface cannot in itself be instantiated. Classes can be instantiated, and can implement interfaces in their entirety.
 
Share this answer
 
v2
Comments
bado2015 3-Jan-13 15:41pm    
Then No.4 will be right in Que ask me Does not Complete it correctly
fjdiewornncalwe 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 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
fjdiewornncalwe 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900