ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

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

Updated on May 5, 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

    • Altaf Sadiik profile image

      Altaf Hussain 

      2 weeks ago from Pakistan

      very nice for java newbies

    • profile image

      Mansoor 

      2 years ago

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

    • profile image

      akash 

      2 years 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

      Loganantham 

      3 years 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

      ramkumar 

      3 years ago

      i really thank u

    • profile image

      brunamary 

      3 years ago

      Nice post.

    • profile image

      sss 

      5 years ago

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

    • ib radmasters profile image

      ib radmasters 

      5 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

    • aisha91 profile imageAUTHOR

      Rasna Aisha 

      5 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 

      5 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 imageAUTHOR

      Rasna Aisha 

      5 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.

    • dwachira profile image

      [ Danson Wachira ] 

      5 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 imageAUTHOR

      Rasna Aisha 

      5 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. :)

    • aisha91 profile imageAUTHOR

      Rasna Aisha 

      5 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.

    • ib radmasters profile image

      ib radmasters 

      5 years ago from Southern California

      Aisha01

      Question

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

      Thanks

    • profile image

      SilentMage 

      5 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.

    • aisha91 profile imageAUTHOR

      Rasna Aisha 

      5 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.

    • Montyhonaker profile image

      Montyhonaker 

      5 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 imageAUTHOR

      Rasna Aisha 

      5 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!

    • profile image

      avinash 

      5 years ago

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

    • profile image

      sameer 

      5 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 ...........

    • aisha91 profile imageAUTHOR

      Rasna Aisha 

      5 years ago from Manila, Philippines

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

    • profile image

      Mail Feed 

      5 years ago

      so nice blog. i like the t-shirts

    • aisha91 profile imageAUTHOR

      Rasna Aisha 

      5 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

      Ranju. 

      5 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 imageAUTHOR

      Rasna Aisha 

      6 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

      Jamal73 

      6 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.

    • profile image

      some procedure for learning 

      6 years ago

      no advanced idea for learning

      less marks in an examination

      please suggest some easy and effective procedure for learning

    • aisha91 profile imageAUTHOR

      Rasna Aisha 

      6 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++. :)

    • JustMike profile image

      JustMike 

      6 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 imageAUTHOR

      Rasna Aisha 

      6 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...:)

    • Anjili profile image

      Anjili 

      6 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

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)