Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 12 of 12

Thread: Need some nice sites to learn Java

  1. #1
    Junior Member
    Join Date
    Jun 2009
    Posts
    6
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Talking Need some nice sites to learn Java

    Hi guys i am completely new to java i know c++ a little. Now i want to learn java from the very beginning. So can any of u friends out there help me out with some nice sites or materials or is there any tutorials i found many while searching but i don't want to start brutally and gradually loose hope i want any nice way to learn java easily, rapidly and mainly interactive. And i find our forums very useful i will be regularly hanging around here from now on!!! So guys please help me out here


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: Need some nice sites to learn Java

    Hey java,

    The only link you will ever need is this one!

    The Java™ Tutorials

    The Sun Java tutorials are exactly where I started and cover everything you need to know.

    Feel free to post questions here any time. I will do my best to help you on your quest to learn Java!
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  3. The Following User Says Thank You to JavaPF For This Useful Post:

    java (June 23rd, 2009)

  4. #3
    Junior Member
    Join Date
    Jun 2009
    Posts
    6
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Re: Need some nice sites to learn Java

    Hai JavaPF, thanks for answering i just went there and saw the tutorials they are really nice. I m not using any IDE i m just using notepad is it ok for a beginner are do you prefer to start with any IDE.

  5. #4
    Member Truffy's Avatar
    Join Date
    May 2009
    Location
    Philippines
    Posts
    93
    Thanks
    2
    Thanked 9 Times in 7 Posts

    Default Re: Need some nice sites to learn Java

    Hi Java,

    better use eclipse.

    Eclipse - Java Programming Forums
    you can look at that.

    i am using eclipse and at the same time netbeans.

    It is all free to download.

    cheers,
    Truffy

    It is hard to use in notepad. your a geek if youre using it.
    Just try some ides.

  6. The Following User Says Thank You to Truffy For This Useful Post:

    java (June 24th, 2009)

  7. #5
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: Need some nice sites to learn Java

    Hello java.

    Using notepad is fine when you first start out although an IDE makes life much easier.

    "Hello World!" for Microsoft Windows (The Java™ Tutorials > Getting Started > The "Hello World!" Application)

    I use the Eclipse IDE. Take a look at this beginners tutorial:

    http://www.javaprogrammingforums.com...plication.html
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  8. The Following User Says Thank You to JavaPF For This Useful Post:

    java (June 24th, 2009)

  9. #6
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Location
    Wales, Bangor & England, Warwickshire
    Posts
    820
    My Mood
    Cynical
    Thanks
    7
    Thanked 104 Times in 90 Posts

    Default Re: Need some nice sites to learn Java

    Hi.

    Not long ago I started at the same point as you I joined these forums and began to learn Java. I was based on C++ myself. But I am awae that when I start uni I'll be using Java so i though I'd get a head start with it. Anyway, the links provided are more than enough to get you started.

    Now for my two cents on IDEs. IDE's are designed to make your life easier and to helpyou work more efficiently. However, they can take away some of your understanding as they can do things for you. Using notepad when you first start out is good because you then learn to compile using the commandline, which means you understand how to work with it and so more complex builds later on in life will be easier as you know how to play around with the options, also you do not have the auto complete option in notepad which means you need to know the language and not just get by with looking through the IDEs list of methods. However having said that IDEs such as Eclipse that use the auto complete and have the methods listed are very good for beginners in my opinion. Since i basically self taught myself Java using this method.

    So in conclusion, f yo want to get a true understanding of Java use notepad for a while, if you want to be able to learn faster and not be messing around with silly stuff use an IDE and if you wan t the best of both worlds then work with both of them

    Regards,
    Chris
    chris[at]javaprogrammingforums[dot]com

    Prifysgol Bangor University, North Wales

  10. The Following User Says Thank You to Freaky Chris For This Useful Post:

    java (June 28th, 2009)

  11. #7
    Junior Member
    Join Date
    Jun 2009
    Posts
    6
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Re: Need some nice sites to learn Java

    thanks, guys really the forum is great. I got an idea now about java i have created a few Java programs just using notepad. Now i think i will stick to notepad for just few days then i am going to switch to an IDE but here comes a challenging part i don't know to choose between IDE i now heard about three IDE netbeans, eclipse and then BlueJ. So some say that eclipse is the best and others stick to netbeans but i read a Java book in which they said that BlueJ is good for beginners. So here i go again with another confusion. So can you guys tell a nice IDE thats good for a complete beginner.

    To tell something about me i compiled my first ever Java program a two days ago "hello world" i followed the Java tutorials even then i got error. It is a error, that i named the notepad file as "hello" and the class name was something like "HelloWorld" so when i compiled my java program javac hello.java everything went well then wen i tried java hello bang i got errors... See how noob i am so suggest me an IDE now guys.. In these two days i have learned and compiled about 15 programs. Java is cool and i am loving it.

  12. #8
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Location
    Wales, Bangor & England, Warwickshire
    Posts
    820
    My Mood
    Cynical
    Thanks
    7
    Thanked 104 Times in 90 Posts

    Default Re: Need some nice sites to learn Java

    Avoid BlueJ. BlueJ doesn't use normal entry methods and so can get cnfusing if you don't know what you are doing. NetBeans is slow and clutered and makes the simple things harder to get to and complete. So I would recommend Eclipse. Lets just say I was a NetBeans user, then JavaPF Recommended eclipse so I tried it and I havent gone back since.

    Hope that helps.

    Regrads,
    Chris
    chris[at]javaprogrammingforums[dot]com

    Prifysgol Bangor University, North Wales

  13. The Following User Says Thank You to Freaky Chris For This Useful Post:

    java (June 28th, 2009)

  14. #9
    Junior Member
    Join Date
    Jun 2009
    Posts
    6
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Re: Need some nice sites to learn Java

    That helped me chris i will now start with eclipse and continue my journey in Java

  15. #10
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Location
    Wales, Bangor & England, Warwickshire
    Posts
    820
    My Mood
    Cynical
    Thanks
    7
    Thanked 104 Times in 90 Posts

    Default Re: Need some nice sites to learn Java

    Excellent

    Glad I could help.

    Chris
    chris[at]javaprogrammingforums[dot]com

    Prifysgol Bangor University, North Wales

  16. #11
    Junior Member
    Join Date
    Jun 2009
    Posts
    6
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Re: Need some nice sites to learn Java

    Hi guys, i am back and i am glad after joining our forum i have really started learning java. But i am in a very slow phase but i am learning each details of it clearly. Now i am here with two queries with no pleasing answers yet.

    >Query 1: i used to program in c, then i had clrscr() to clear the console screen so what about that in java. so people say that to print many blank lines that the screen will appear virtually cleared. But is there any other way to clear the console screen in java i am not using any IDE. I have blueJ installed and eclipse setup but i have not started using them yet. I am still with the classical notepad and command line method in windows. So can anyone help me with this one.

    >Query 2: What is the difference in using the modifier "static" and "static final" while creating a field in a class.

  17. #12
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: Need some nice sites to learn Java

    1. I don't know if this is possible in Java but looking around somewhat I can see that someone did what you said.

    void public clear () 
    {
        int i = 0;
     
        for(i=0;i<300;i++)
        {
            System.out.println("\n");
        }
    }


    2. This is an easy one. Static and final are two different things. Static means that the member exists only as one instance and there is no need to instantiate the class of which it is a member to reach the static.

        public class MyStaticMemberClass {
     
            public static final String MY_CONSTANT = "some string constant";
     
        }

    To use the value of the MY_CONSTANT member you simply do.

        System.out.println(MyStaticMemberClass.MY_CONSTANT);

    The final keyword tells Java that the variable reference will not be modified, so saying that something is static final means that there is only one instance of the member and final says that we cannot reassign it.

    If we take this static final declaration.

        public static final String MY_CONSTANT = "some text here";

    We cannot reassign it by calling this code because of the final modifier.

        MY_CONSTANT = "some new text";


    I hope that sheds some light on the whole thing, have a look at this for some more information.

    InformIT: Static, Final, and Enumerated Types in Java > What Field Modifier final Means

    // Json

  18. The Following User Says Thank You to Json For This Useful Post:

    java (July 12th, 2009)

Similar Threads

  1. Learn applets in java
    By mohsendeveloper in forum Java Applets
    Replies: 2
    Last Post: June 25th, 2009, 03:50 PM
  2. In how many days, beginner can learn java?
    By captjade in forum The Cafe
    Replies: 1
    Last Post: February 28th, 2009, 07:35 AM