$ thought | blog

Place to serialize my thoughts…

Java: Not so stupid series

with 3 comments

I always read the "Not so stupid questions" series on Java Today. It was becoming difficult for me to keep the questions list. Sometime, you need the questions list and you don't find it; don't you hate that? First thing came to mind was my blog! After all we are supposed to use these tools to organize our personal information; isn't it? Blogs were invented for that,so I thought to make a list as a post and let others find the entire list in one place.

I googled for stupid questions list but I couldn't find a single page enlisting all of them. :( But this problem is not there anymore. You would like to bookmark this page for your reference ;)

(Not So) Stupid Questions series:

Q 01: Should I try to declare more of my methods to be static?

Q 02: Some side-effects of String equality don't make sense

Q 03: Some uses of the private keyword don't make sense.

Q 04: I have no idea when to create a new package and what should go in it.

Q 05: When should I implement an interface, over inheriting from a parent class?

Q 06: How can you justify Dimension java.awt.Component.getMinimumSize() when Dimension does not implement Comparable?

Q 07: There are some weird Java operators I don't understand.

Q 08: What's the deal with serialVersionUID?

Q 09: I'm attending my first JavaOne. What should I plan on?

Q 10: Other than bundling my classes, what good does a JAR do me?

Q 11: I have a question about a Java feature. Who do I ask?

Q 12: Can I use the 'Java' name in an open-source project?

Q 13: Why do constructors have to start with a call to super()?

Q 14: Why is if (true); considered valid Java syntax?

Q 15: How can a constructor be private?

At the time of writing this post, only 15 questions were available. If any additional questions are appeared, I will update the post.

Written by Sachin

December 23rd, 2006 at 2:58 pm

Posted in Articles,Java

Tagged with

3 Responses to 'Java: Not so stupid series'

Subscribe to comments with RSS or TrackBack to 'Java: Not so stupid series'.

  1. These questions are the kind of questions we are asked in interviews here in Egypt, some multi-national compaines even.

    Q05, was asked to a SE during his interview in ITWorx, http://www.itworx.com.

    Because I am still a CS student, I have many questions that others think stupid.

    To end, this was also an interview Q, how can I add from 1->n without using loops ???

    ibhog

    23 Dec 06 at 10:23 pm

  2. @ibhog

    Yes, although these questions sound stupid those are very important. Moreover, in general asking a question is never stupid so don’t hesitate to ask questions.

    The question you asked is related to logic and not about Java. I will advice you to crack the question on your own. It is good when you find your own tricks to solve problems :)

    Sachin

    24 Dec 06 at 7:18 am

  3. [...] Java: Not so stupid series « Thoughtworking… [...]

Leave a Reply