ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

5 Important Tips on How to Learn Java Programming Language Easily & Quickly

Updated on May 05, 2013

Learn Java, Learn how to program in Java.

As a person who loves programming, I have a special love for Java Programming. Base on my experiences in this programming language here are 5 important tips that you need to know while learning Java and other programming languages.

5 important Tips on Learning Java Programming and Other Programming Languages

1. Know the basic

- It is just normal to be difficult if you are really a beginner in the sense that you did not use any programming language in the past. You, basically, start from scratch. To avoid waste of time and dizziness while looking at a foreign code know the Java Predefined Keywords and its function in Java Programming. It will save yourself from asking “what the hell is this?”. Once you have become acquainted with the basics, the following steps will be easy for you.


Programming with Java Source:JVsearch.com
Programming with Java Source:JVsearch.com

2. Practice Coding Immediately

- Practice to code what you have learned. It is not necessarily to be long and complicated, just code those simple problems in your java book that is suited for a beginner, like entering a number and outputting what you entered or much simpler- outputting a certain word or sentence using the System.out.print() predefined function. The purpose of this is for you to be able to see how it works. Whenever you see a complete code (working code) on your textbook, test it on your compiler, this will help you to familiarize each codes functions. When you feel you really want to solve a problem and provide your own codes then read the following step.


3. Set Your Algorithm Carefully

- Delving a bit deeper in Java Programming at least requires you to know and how to use the Java Basic Flow of Controls and Branching Mechanism.

Those are required basic knowledge for you to solve a problem, but when you already know this then it is the time to have your own Java Project.

In solving a problem, you must set your algorithm first. That is making a step by step approach on how you solve the problem and output the necessary output it needed. It does not really mean that if your program runs, you are already done. No, what you need is to see its output first and to be able to rate if your program is correct, test it with any possible output it may give. After a series of tests, if it gives the correct output that the problem needs then, congratulation but if not, you need to check your algorithm again and try to trace your code. If the problem persists, the next step will be helpful to you.


4. Tracing Your Codes on Paper

- This is really a great help for beginners and the best way on becoming an expert. It is just like you are “thinking like the compiler”. Understanding your code on paper gives you hard time at first but when you are into it, you will be a fast learner in no time.

5. Read Any Sources for Java Programming as many as possible

- There are many sources that can be found using the net and in the library. If you are really determined to learn as a student or as a person who is just fascinated with Java, then you can find unlimited sources on the web. Join forums concerning this language, or sites that primarily offer Java Programmers, whether an expert or a beginner, to be their members. It does not hurt at all when you try to sign up on those site using your other email account instead of that personal ones. Just try it and you will see the advantages it will bring you.

Hope you have learned something on this hub even just a little. If you find this helpful you can follow me, for I will be posting more concerning Java Programming and other related topics. Thank you for reading my hub

Updated:

I just uploaded Java source codes that you might want to see and test. Choose source codes below.

Comments

    0 of 8192 characters used
    Post Comment

    • Anjili profile image

      Anjili 5 years ago from planet earth, a humanoid

      A definite good start for beginners in your advice.

      I have always wanted to learn programming in the shortest time possible.

      Will be following you on this. Lol

    • aisha91 profile image
      Author

      Rasna Aisha 5 years ago from Manila, Philippines

      Hi Anjili,

      Thank you! :)

      If you have a java compiler, let us say netbeans or eclipse you will learn fast. You will just need at least one java book which is intended for a beginner, you can buy or download free ebook, and you can always test all my codes on my other hubs as well as study its algorithms. Once you become acquainted with the basics I'm sure you can also solve other programming problems in your own.

      I am Glad Anjili that you have a passion too on programming, thanks for stopping by...:)

    • JustMike profile image

      JustMike 5 years ago

      Hey I like to go to the www.codeacademy.com and play around with java. I am by no means any type of programmer but i can see this being a good way to teach people or to maybe learn it. I don't know what do you think about this site have you seen it?

    • aisha91 profile image
      Author

      Rasna Aisha 5 years ago from Manila, Philippines

      hi mike,

      yeah,the site is helpful and good for aspiring programmers and beginners. Thanks for commenting here.

      I see that you enjoy Java too. So far that is my favorite language now, I thought it was c++. :)

    • profile image

      some procedure for learning 4 years ago

      no advanced idea for learning

      less marks in an examination

      please suggest some easy and effective procedure for learning

    • profile image

      Jamal73 4 years ago

      Thanks so much for your very useful tips on Java programming. I recently started to learn Java and I'll try follow you up in order to sustain the effort as well as learn more in the shortest possible time.

    • aisha91 profile image
      Author

      Rasna Aisha 4 years ago from Manila, Philippines

      @some procedure for learning

      Basically, this is the general thought on learning any programming languages effectively. Anyway, I uploaded new java tutorials that might help beginners on their way to the language. Here is my collections of java tutorials:

      https://hubpages.com/technology/Java-Tutorial-Exam...

      @jamal

      hello jamal, thank you for your appreciation. :)

      Check out my other new tutorials these might help you. Java language is very interesting, may you enjoy your learning towards it. Your thought will always be welcome here. Good Luck.

    • profile image

      Ranju. 4 years ago

      hai Aisha...

      Thank you for you tips. and your collection of java tutorials, its really worth & helpful for biginners.! am also a java lover. keep doing. :-)

    • aisha91 profile image
      Author

      Rasna Aisha 4 years ago from Manila, Philippines

      Hello Ranju...:)

      Thanks for your appreciation,

      You inspire me to upload more, glad to know it really helps the beginners and java programmer wannabes :D

    • profile image

      Mail Feed 4 years ago

      so nice blog. i like the t-shirts

    • aisha91 profile image
      Author

      Rasna Aisha 4 years ago from Manila, Philippines

      hello omsokem, really, thanks :) TC and welcome to hubpages :D

    • profile image

      sameer 4 years ago

      I am a beginner and i want to learn java , please tell me how to start with means tell me what will be the first step to start with , send me some links ...........

    • profile image

      avinash 4 years ago

      thanx ... aisha you really helped me in sorting out my problems about java.....

    • aisha91 profile image
      Author

      Rasna Aisha 4 years ago from Manila, Philippines

      Hi avinash,

      nice to hear that. I am planning to redesign the tutorial approach in order to be more useful and understandable for all my readers. Thanks for your kind comment. Appreciate that so much. Happy programming!

    • Montyhonaker profile image

      Montyhonaker 4 years ago

      Hi,

      I've been teaching myself a lot of different languages as of late and I came across your page. Thank you for the information, it will be put to good use.

    • aisha91 profile image
      Author

      Rasna Aisha 4 years ago from Manila, Philippines

      hi Montyhonaker ,

      Thank you. Glad to know that you are a programming enthusiast too. Thanks for stopping by and happy programming.

    • profile image

      SilentMage 4 years ago

      Finally some good advice, not just start with c++ why not c or machine code?

      Can't agree more with Tracing Your Codes on Paper, it was and is immensely helpful.

    • ib radmasters profile image

      ib radmasters 4 years ago from Southern California

      Aisha01

      Question

      If you wanted to learn Java to program Android Applets where would you start?

      Thanks

    • aisha91 profile image
      Author

      Rasna Aisha 4 years ago from Manila, Philippines

      Hi SilentMage,

      Thank you. You have good point there, yes, as I thought about it, why not? lol, I hope so in the future. Definitely, tracing the codes on paper is a very helpful practice for every beginner. Thanks for your input.

    • aisha91 profile image
      Author

      Rasna Aisha 4 years ago from Manila, Philippines

      Hi ib_radmasters,

      Try to visit this http://www.xda-developers.com/android/want-to-lear...

      they have useful tutorials for Android Apps. You might get something helpful for you there. :)

    • dwachira profile image

      [ Danson Wachira ] 3 years ago from Nairobi, Kenya

      Hi aisha91,

      Great tips especially for those who would like to perfect their programming skills and not just for beginners. Voted up and useful.

    • aisha91 profile image
      Author

      Rasna Aisha 3 years ago from Manila, Philippines

      Hello dwachira,

      Thanks. The tips are basics but yes, the #4 is a good practice for both the beginners and professionals, especially when the codes get complicated.

    • ib radmasters profile image

      ib radmasters 3 years ago from Southern California

      Aisha01

      What is your process for designing the code before coding, and what is your first step on the code?

      Do you just list the classes and types?

      Generate the files that you will use to hold the classes???

      Thanks

      Thanks

    • aisha91 profile image
      Author

      Rasna Aisha 3 years ago from Manila, Philippines

      Hi ib radmasters ,

      Mine, I think I use the standard process unconsciously or sometimes altered it depending on the problem.

      Usually, when I was starting out, this is my behavior while programming.

      1. Analyze the problem. What result do I need to accomplish? How would I accomplish it? Basically, in this part I establish my algorithm and write the steps if there are too many.

      2. Then, transform those steps into codes and see how it works. If it doesn't work, meaning there is a problem with my algorithm, or with the code I use. That's why it is very important to know the pre-defined functions of the language you are working with and its capability (how classes and methods work and all), so that when you are establishing your algorithm, you know exactly that it will work or it can be accomplished.

      But in System Developing, it takes a lot of effort because there are many aspects to analyze. Usually, this is the standard steps.

      1. Analyze the problem

      2. Gather data, establish the algorithm

      3. Design the interface

      4. Coding and implementation

      5. Testing and deployment

      While, you are in the process of system developing, there are many factors that might change including in your algorithm and designs because as you move forward, you are learning something better in accomplishing your agendas. This is where headache come along. That's why for me, the most important parts are: You know exactly how the language behave and you did your best while you are in #1 and #2. Analyzing the problem in all its corners and possibilities as well as gathering data must be 99.9% sure. If not, there will be many wasted efforts and headache.

      Hope that helps and it answers your question one way or another. I am not yet an expert not even close, but I am working to be one, lol... :D

      Anyway, do you want to develop something, or you are already developing something?

    • ib radmasters profile image

      ib radmasters 3 years ago from Southern California

      Aisha

      I would eventually like to do apps for Androids.

      I am looking at Java that was available in 2000..

      I realize that there is a whole wrapper for Androids.

      but I thought I would start with the basics first.

      I am 75% through reading Java Development book, but it is mostly directed to windows programming.

      At this point, I would start out with the minimum code, and do a Hello World, and then build a GUI. Unfortunately, that doesn't require a lot of classes, and inner classes, events etc.

      I am sure that today there are built in packages that do a lot of the work that was done in 2000 by doing most of the work yourself.

      Thanks

    • profile image

      sss 3 years ago

      i want to learn programming but i don't know where to start

    • profile image

      brunamary 2 years ago

      Nice post.

    • profile image

      ramkumar 2 years ago

      i really thank u

    • profile image

      Loganantham 21 months ago

      Mam thank you to your learning tips....it was very helpful to learn easily...

      I would like to become an world famous java programmer..and I need to develop many apps for mobiles using java...

      I want to know how to create an apps using java...which book i will prepare...please help me?

    • profile image

      akash 19 months ago

      hi i am electrical and electronic student but i also want learn progrming language java can u give me some tips plese reply me @akashsanganna953@gmail.com

    • profile image

      Mansoor 17 months ago

      Hi Aisha the content is good for java beginerrs like me,gud wrk

    Click to Rate This Article