Charles Miller suggests that Java should be taught using an environment where students can create and experiment with objects without needing to learn the words "public static void main()." It's an interesting idea -- the Naked Objects approach could be useful in this regard. However, as someone who has tackled this issue with each of my Java books, I've concluded that it's better to start with simple applications and the main() method, because most readers are using the Java 2 SDK while learning the language. Beginners ought to be shown that they can accomplish something with the language before the subject of object-oriented programming is introduced, which often confuses the bejabbers out of people the first time they are exposed to it.
All comments are moderated before publication. These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).