Any quick and dirty Java Programming Guides?

This is a discussion on Any quick and dirty Java Programming Guides? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I'm going to be using java for a software engineering course I'm doing, I did my first three programming courses ...

  1. #1
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901

    Any quick and dirty Java Programming Guides?

    I'm going to be using java for a software engineering course I'm doing, I did my first three programming courses in java but haven't used it much since, I worked mostly in C++ and recently C#. I can probably figure it out from old notes and stuff and the syntax isn't really what worries me, just a guide that covers the important aspects of programming related to java: Inheritance, Polymorphism technical aspects of the language in brief, et al. I am reading one from the java.sun.com website but wouldn't mind more resources.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,310
    I can probably figure it out from old notes and stuff and the syntax isn't really what worries me, just a guide that covers the important aspects of programming related to java: Inheritance, Polymorphism technical aspects of the language in brief, et al. I am reading one from the java.sun.com website but wouldn't mind more resources.
    Personally, I found that the main thing I had to adapt to was syntax. Inheritance and polymorphism? Bah, Java does not have multiple inheritance and its interface construct is just special syntax to declare a pure interface. Polymorphism is easy since you do not have to take care to use pointers and references to avoid slicing, and do not need to think before declaring a member function virtual... since all non-static methods are effectively virtual anyway.

    Still, if you want a fun read, I suggest that you read Head First Java by Bert Bates and Kathy Sierra. It might be a little too easy for you, but it is funny.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    One head first book is enough (reading head first design patterns, but using C#). I mean I can probably just wing it since it's been only about a year since I used java, and C# is pretty much like it from what I remember, but I like to know about the special features. Like C# is much cooler when I can use the lambda functions instead of delegates which I didn't know until I read a language reference (visual C# express docs programming guide). I just want to get a refresher without needing a large book.

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Take C# 1.0, minus delegates and operator overloading. Replace a few keywords: sealed with final, internal with nothing. There's no override or new annotation for functions. There are no out or ref parameters. No uniform multi-d arrays. No value struts. The primitives aren't objects.

    This pretty much gives you Java 1.4.

    Then read the guide to new features in Java 5 and you should be up to speed.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I like C# a lot though I only ever used Java 5.0 and are familiar with C# 3.0 features (Linq & Lambdas). But most of it makes sense, just not sure what constitutes java 1.4

  6. #6
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Also should I bother with knowing much about Java 6.0?

  7. #7
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    It's just library enhancements.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  8. #8
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    ah. Welll I found my old "Big Java" book and can get back to where I left off.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Quick question about VB Word macros
    By PJYelton in forum Tech Board
    Replies: 6
    Last Post: 05-28-2005, 10:26 PM
  2. Remove space in a string
    By alice in forum C Programming
    Replies: 37
    Last Post: 05-18-2004, 12:27 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21