Beginners - 1 Basics

Here are some little things you should keep in mind after first installing Eclipse and making your first file.


In your code, you must have seen a lot of bold colored words(for ex: public static void main). Those words (like public, class, static, etc.) are called 'Identifiers'. Basically, they are Java's vocab words which you cannot use as your own or in different ways.


Let's say that the only reason why you are making this Lincoln file is to show display the sentence 'A quote by Abe Lincoln: I am Abraham Lincoln'. You never write code without a purpose/requirement/function. So, to make sure you remember why we're writing this file, type the following:
 //display something about Abe 

And press enter. Did you notice that the color has changed? This is called a comment. We use comments to "explain the purpose of the program and describe processing steps". They don't effect our code so we can write as many comments as we want as long as we always start them off with a // for each line of code.
An alternative is to type to close it off. Try it out for yourself
 /* and write as many lines as you want (or just one)
 and then type */ 

White Space

When coding, Java doesn't give a shit about the white space or new lines you have in your code. Meaning, you can put hundreds of spaces and tabs between System.out.println("bla"); (i.e. System   .  out.println (   "bla"   );), and Java will interpret this the same as System.out.println("bla"). The only time a space will make a difference is when it's inside the ""  of the println("') statement. But, even though spaces mean nothing, you should always try to limit your spaces and maintain the same tabs that Java automatically generates (such as between { }) so that your code is readable and not annoying to the people who didn't write it.

More to come soon...


  1. This comprehensive guide is ideal for someone who is hoping to get ahead of the class by doing some preliminary reading on about Java prior to the start of this semester.

    1. Great Article android based projects

      Java Training in Chennai

      Project Center in Chennai

      Java Training in Chennai

      projects for cse

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

  2. Looking good collection of information, thanks for sharing the useful content please do keep on sharing the valuable stuff...
    Best Online Software Training Institute | Java Training

  3. Personally, I really liked this casino,exclusively best online casino especially the choice of games. All games are licensed and with normal returns. I really like how you can choose one-click games here and it’s like a lot of slot machines and slots in your hand.

  4. pretty good site if you like quality honest best online casino sites come in and make sure of it

  5. This is really good blog information thanks for sharing .I am really impressed with your writing abilities

    เว็บไซต์คาสิโนออนไลน์ที่ได้คุณภาพอับดับ 1 ของประเทศ
    เป็นเว็บไซต์การพนันออนไลน์ที่มีคนมา สมัคร Gclub Royal1688
    และยังมีหวยให้คุณได้เล่น สมัครหวยออนไลน์ ได้เลย
    สมัครสมาชิกที่นี่ >>> Gclub Royal1688

  6. Thanks for sharing such an informative post with us. I hope you will share more such post. Please keep sharing.
    TOSHIBA Service center in Kukatpally, Hyderabad
    Best Laptop Service center in Kukatpally, Hyderabad

  7. Thanks for posting the blog!!!
    UV Gullas College of Medicine passing rate universities can find health job, often in healthcare. The Practical teaching program prepares graduates for the exam and prepares graduates for the UVGCM examination for the profession. Examinations successfully permit employment as practical teaching or as enrolled teaching, respectively.

  8. You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this BHV cursus

  9. This information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.
    Salesforce Training in Chennai

    Salesforce Online Training in Chennai

    Salesforce Training in Bangalore

    Salesforce Training in Hyderabad

    Salesforce training in ameerpet

    Salesforce Training in Pune

    Salesforce Online Training

    Salesforce Training

  10. really interested post, thanks for the information
    also visit our website
    togel online

  11. Nice blog, Verty Intrested!!
    Thanks allowed me to comment in here

    togel singapore

    togel hongķong

    togel hari ini

  12. Thanks allowed me to comment in here, verry informative post, i'm so interesting
    Also visit our website in:

    judi slot online

    situs judi slot

    prediksi hk malam ini

  13. This article will outline all the different strategies you should be aware of when it comes to soccer.

    Best IAS Coaching in India

  14. Escort Service In Gurgaon - Our call girls agency is ready to meet your all needs. They are enjoying most seductive female call Girls from different parts of the World. Have you ever date any female in your life? If no then you do not know the real taste of dating fun with a call girl. Then our Gurgaon Escorts service will help you to tackle your dreams with one of the independent female escort agencies.

    Escort Service In Gurgaon

  15. Do you have any resources for Dan Mod APK? Can we edit in java or its possible in C++ only?

  16. MPPSC Coaching in IndoreGet Free MPPSC Notes and MPPSC Study Material for preparation of MPPSC Exam.>

  17. Here's a guide on how to get unlimited coins in injustice. There are a number of ways to get free coins in injustice mobile, but these tips are the best ways to get unlimited coins in injustice mobile. Once you have unlimited coins, you'll be able to unlock all the injustice mobile character, gear, and moves.

  18. az whatsapp apk is a very popular WhatsApp messenger so you can download it freely on your Android with the APK file. and share your pictures, videos and live status with your friends on social media. Our az whatsapp apk gives you unlimited features.

  19. Blackmart Apk Download is one of the most downloaded app and is also one of the most popular among genuine users. It has been available from our website now, and it is one of the most trusted apps as well. Download our Blackmart Pro Apk and get the unlimited features.

  20. GTA Vice City Apk + OBB is a game of android devices it has racing, action and adventure games. The gta vice city moba game has an amazing environment that looks very beautiful. This game was designed by rockstar games for android devices.

  21. Kinemaster prime update apk is a video editor tool that is perfect for first time users of this kind. It places users at the very beginning of video editing, as it doesn't require you to download any other software. If you're an advanced user, this software will be too simple for you, but you'll surely find it very useful.

  22. Download Free MOD APK Games & APPS for Andriod with APKSAVERS. NoAds, Paid Free & Faster MOD APK download. Best MOD APK Games and MOD APK APPS Free for Mobile Gamers.

    Apk Savers

  23. GTA Vice City is one of the most popular video games of all time. It was released in 2002 for the PlayStation 2 and has since been ported to other platforms. The game is set in the fictional city of Vice City, which is based on Miami, Florida. Players assume the role of Tommy Vercetti, who was recently released from prison and is trying to take over the city's drug trade.

  24. Racing Moto - Race for Android, in which you need to drive a bike to head to various areas. Rout your adversaries in this interesting bike race, complete missions, gain accomplishments, open new cruisers. The game will satisfy you with a basic and smooth control, as well as an interminable game mode.

  25. Get safe and secure apk mod version only at apkgrace

  26. Eclipse is an integrated development environment (IDE) for Java and other programming languages like C, C++, PHP, and Ruby. It is a free and open-source IDE that is used by many developers around the world. It provides a platform to quickly develop, test, and debug applications. It also provides tools to help developers in the software development process and to improve the quality of their code. Eclipse is a popular choice for developing web and enterprise applications.

  27. This is really a useful article as it will help them learn about new technology, If you want to learn more about it then I would recommend this Power BI course for you.

    Keep posting


  28. The website is so easy to use – I am impressed with it. Thank you for Sharing.
    Azure Admin Training has been designed for software developers who are keen on developing best-in-class applications using this open and advanced platform of Windows Azure.

  29. I enjoyed this site. It was very easy to use and functional. The buttons are easy to find. I think this is a very good site and will continue to use it. Msbi training offers the best solutions for Business Intelligence and data mining. MSBI uses Visual Studio data tools and SQL servers to make great decisions in our business activities.


Follow Me

If you like our content, feel free to follow me to stay updated.


Enter your email address:

We hate spam as much as you do.

Upload Material

Got an exam, project, tutorial video, exercise, solutions, unsolved problem, question, solution manual? We are open to any coding material. Why not upload?


Copyright © 2012 - 2014 Java Problems  --  About  --  Attribution  --  Privacy Policy  --  Terms of Use  --  Contact