JAVA Fundamentals | Part 4 | Accepting User Input, Finding Sum of Two Numbers, Using JAVA Online Doumentation

Leave a Comment
Write Once, Run Anywhere!
"Write Once, Run Anywhere!"
Welcome everyone to the next session in our JAVA Tutorials.

In this tutorial, we would learn how to make a simple program to add two numbers by accepting the numbers from the user. Simultaneously we would learn how to use the online JAVA Documentation to refer to commonly used packages, classes and their respective methods used. Hence lets get started.



JAVA Fundamentals | Part 3 | Learning to print text on the monitor

Leave a Comment
Write Once, Run Anywhere!
"Write Once, Run Anywhere!"


Hey Folks!

Continuing with our tutorials on JAVA, today we'll learn how to use some common functions to print text on the monitor screen.

Like you'd remember from the Hello World example we saw in the last article, you may remember we used the following code to display "Hello World!" on the screen:
  • System.out.println("Hello World!");
We also discussed that in this statement above,
System is a class
out is an output stream object
println is a method
Hello World! is a string that the println method receives as an argument.

Hence continuing the same discussion, let us understand the println method and also various other commonly used methods to display and manipulate text to be shown on screen in JAVA.



JAVA Fundamentals | Part 2 | Create a Hello World Program using NetBeans

Leave a Comment
Write Once, Run Anywhere!
"Write Once, Run Anywhere!"

The very first step into coding in a new language, whatever programming language that it might be, that you learn is to create a Hello World Program. We'll hence do so here using NetBeans IDE.

Creating such an elementary program is supposed to give you basic know-how over how to build JAVA Applications using NetBeans also.

Hence lets get started.



JAVA Fundamentals | Part 1 | Installing the tools (JDK and IDEs)

Leave a Comment
Write Once, Run Anywhere!
"Write Once, Run Anywhere!"


The very first thing everyone should do before even picking up the book for learning Java is to setting it up on their personal computers. Why?
Because setting it up not only helps you try and test the various examples as we will learn throughout the tutorials but also helps you get the necessary hands on experience with the syntax of the language.

Hence, without wasting our time, lets straightforward start with installing the Java Development Kit (JDK).



Powered by Blogger.