Beginners - 1 Basics

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

Identifiers>

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.

Comments

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


39 comments :

  1. This comprehensive guide is ideal for someone who is hoping to get ahead of the class by doing some preliminary reading on https://research-paper-writing-online.blogspot.com/2016/07/looking-for-best-research-paper-writing-service.html about Java prior to the start of this semester.

    ReplyDelete
  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

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

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

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

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

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

    ReplyDelete
  8. 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

    ReplyDelete
  9. 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

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

    ReplyDelete
  11. 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.

    ReplyDelete
  12. 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.

    ReplyDelete
  13. 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.

    ReplyDelete
  14. 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.

    ReplyDelete
  15. 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.

    ReplyDelete
  16. 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

    ReplyDelete
  17. 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.

    ReplyDelete
  18. 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.

    ReplyDelete
  19. Get safe and secure apk mod version only at apkgrace

    ReplyDelete
  20. 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.
    Regards: https://spotifymod.com/download-spotify-plus/

    ReplyDelete
  21. 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

    Thanks

    ReplyDelete
  22. 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.


    ReplyDelete
  23. 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.

    ReplyDelete
  24. apksplit is fantastic website for games and apps. Thank you for sharing Traffic Rider Mod APK 2023

    ReplyDelete
  25. If you're looking for beginner-level basics, here are some general topics across different areas that you may find helpful:

    Language Learning Basics:

    Alphabets and phonetics
    Common greetings and introductions
    Basic vocabulary and phrases
    Simple sentence structures and grammar rules
    Programming Basics:

    Understanding variables and data types
    Basic control structures (loops and conditionals)
    Input and output operations
    Functions and basic code organization
    Cooking Basics:

    Knife skills and basic food preparation techniques
    Common cooking methods (boiling, frying, baking, etc.)
    Understanding and following recipes
    Food safety and hygiene practices
    Photography Basics:

    Understanding camera settings (aperture, shutter speed, ISO)
    Composition and framing techniques
    Lighting principles and techniques
    Basic photo editing and post-processing
    Financial Basics:

    Budgeting and managing personal finances
    Understanding income, expenses, and savings
    Basic investment concepts (stocks, bonds, mutual funds)
    Credit cards and debt management
    Fitness Basics:

    Warm-up and stretching exercises
    Basic strength training exercises (push-ups, squats, etc.)
    Cardiovascular exercises (running, cycling, etc.)
    Understanding proper form and technique
    Remember, these are just starting points, and each topic has a lot more to explore. As you delve into any of these areas, you can gradually expand your knowledge and skills. Enjoy your journey of learning and discovery! Rainbow CapCut

    ReplyDelete
  26. "Excellent material! Your post expertly demonstrates your knowledge and commitment. Our professional community values and highly appreciates your insights. I look forward to your future insightful contributions. Salesforce Admin Course

    ReplyDelete
  27. "Your post shows that you have a thorough understanding of the topic. Your opinions are well-informed and significantly advance worthwhile debates. Kudos! Salesforce Admin Training

    ReplyDelete
  28. Thanks for sharing this amazing blog. it is really helpful and informative. I will also share this blog with my friends. you can also check this: Salesforce Admin Certification
    Salesforce Admin Course
    Ruby On Rails Training

    ReplyDelete
  29. "Your commitment and contagious optimism truly shine, strengthening our team. I appreciate your significant contributions. Splunk Course

    ReplyDelete
  30. "Your post demonstrates a thorough comprehension of the subject. Your insightful comments add to the conversation and present new angles. Within our professional community, we sincerely appreciate the efforts you have made. I'm grateful. Splunk Certification

    ReplyDelete
  31. It is a magnificent work of art! It enthrals with its perceptive writing, flawless research, and writing style. I appreciate you sharing your insightful viewpoint. Outstanding effort! DevOps Training

    ReplyDelete
  32. Your essay is a stunning piece of writing! It captivates readers with its insightful writing, impeccable research, and writing style. Thank you for sharing your wise perspective. A superb work!  DevOps Course

    ReplyDelete
  33. Your essay is a stunning piece of writing! It captivates readers with its insightful writing, impeccable research, and writing style. Thank you for sharing your wise perspective. A superb work!  Blue Prism Course

    ReplyDelete

Follow Me

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

Subscribe

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?

Upload

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