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 9:33am
Edited 3-Jan-13 9: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)

  Print Answers RSS
0 Dnyaneshwar@Pune 1,300
1 Sergey Alexandrovich Kryukov 660
2 OriginalGriff 329
3 ravikhoda 300
4 Manas Bhardwaj 240
0 Sergey Alexandrovich Kryukov 11,194
1 OriginalGriff 6,867
2 Peter Leow 4,795
3 Abhinav S 3,838
4 Maciej Los 3,575


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