Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26533
| From | Arved Sandstrom <asandstrom2@eastlink.ca> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: java inheritance |
| References | <88bf3eb6-4f5a-4745-9bea-fcc4bdaba816@googlegroups.com> <l5r54c$us2$1@dont-email.me> |
| Message-ID | <Byoiu.201777$9P6.113553@fx22.iad> (permalink) |
| Organization | Public Usenet Newsgroup Access |
| Date | 2013-11-18 09:24 -0400 |
On 11/11/2013 01:45 PM, markspace wrote: > On 11/11/2013 5:30 AM, asdf9797 wrote: >> >> The idea was there was a "Storable" abstract class which contained a >> store() method. >> >> There was a IStorable interface > > To explain Arne comment a bit, probably the actual question involved > something you didn't tell us. Besides the obvious syntactic omission > and a possible misspelling, "improve" can require quite a lot of > context, and what you've told us is basically nothing at all. > > One job interview technique (not for written tests) is to ask the > candidate an open ended question, and see how he or she responds. What > sort of questions does the candidate ask, and what sort of logical paths > does he or she pursue? Maybe this was that sort of question. > Good comments by all. I think this is exactly that kind of question, to see how the candidate or certification taker responds and thinks. One of the first things I'd question is the existence of the abstract class. Not that we know how IStorable is defined, but intuitively I'd want a "store" method to be in the interface, with documentation. Only if there were substantial implementation commonality would I bother with the abstract class. In the real world I (we) would know what the problem actually is, not be presented with part of a flawed solution. AHS -- When a true genius appears, you can know him by this sign: that all the dunces are in a confederacy against him. -- Jonathan Swift
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
java inheritance asdf9797 <paul.caffrey@gmail.com> - 2013-11-11 05:30 -0800
Re: java inheritance Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-11-11 09:12 -0500
Re: java inheritance Arne Vajhøj <arne@vajhoej.dk> - 2013-11-11 09:40 -0500
Re: java inheritance markspace <markspace@nospam.nospam> - 2013-11-11 09:45 -0800
Re: java inheritance Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-11-18 09:24 -0400
Re: java inheritance Robert Klemme <shortcutter@googlemail.com> - 2013-11-11 19:19 +0100
csiph-web