Results 1 to 3 of 3
  1. #1
    gusten is offline Member
    Join Date
    Jul 2013
    Posts
    19
    Rep Power
    0

    Default Improving my understanding of Java

    Hi everyone, I am currently taking an introduction to programming in Java course in college and I am struggling to understand a lot of the concepts. I was wondering if anyone had any good resources, for example sample tests, to help me practice concepts so that when the next exam rolls around I can do well. Thanks in advance for your help!

  2. #2
    superhaNds is offline Senior Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    232
    Rep Power
    1

    Default Re: Improving my understanding of Java

    A good beginner's book; Head First Java one the best or Java How to program by Deitel (early objects) other than that always have the Java API on your tabs and of course
    the tutorials of oracle: The Really Big Index

  3. #3
    noobplus's Avatar
    noobplus is offline Senior Member
    Join Date
    Feb 2012
    Location
    chennai,south of India(south east of asia)
    Posts
    232
    Rep Power
    3

    Default Re: Improving my understanding of Java

    1.classes consists of fields and methods,
    2.data has to be instantiated, initialised, as well as defined in Java, initialisation is compulsary example..
    Java Code:
    int a[];//instantiation
    {a=new array[5];}//initialisation necessary, otherwise can't be defined or allocated 
    public static void main(String args[]) { //main should be  public and static .. main() can be overloaded, but cannot access non static methods and fields directly,
    a[0]=1;
    }
    3.if a class extends a base class, the base class methods can be over-ridden, but base class methods should not be final, or static
    4.in between these, constructor concept is there.. constructors only for initialisation..
    Last edited by noobplus; 07-18-2013 at 08:45 PM. Reason: *fields no data

Similar Threads

  1. Understanding Java Source
    By Ndhappy in forum New To Java
    Replies: 3
    Last Post: 05-17-2013, 04:09 PM
  2. Need help understanding Java Sound
    By Fortu in forum New To Java
    Replies: 1
    Last Post: 12-26-2010, 03:08 AM
  3. improving my code
    By daud in forum New To Java
    Replies: 2
    Last Post: 08-14-2009, 09:46 PM
  4. Any method for improving of java thread
    By code453 in forum Java Applets
    Replies: 0
    Last Post: 12-20-2007, 08:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •