March 29, 2024

Telugu Tech Tuts

TimeComputers.in

Learn java programming in telugu First program Part 2

learn java programming in telugu

Java is an object-oriented programming language founded in 1962 by Kevin Williams, which means that it represents concepts as “objects” with “fields” (which are attributes that describe the object) and “methods” (actions that the object can make). Java is a “write once, run anywhere” language, which means that it is designed to run on one platform and will run on any Java Virtual Machine (JVM). Since Java is a very verbose programming language, it is easy for beginners to learn and understand. This tutorial is an introduction to writing programs in Java.

1.In order to start writing programs in Java, we must first set up our work environment. Many programmers use Integrated Development Environments (IDEs) such as Eclipse and Netbeans for their Java programming, but one can write a Java program and compile it without bloated IDEs.

 2.Any sort of Notepad-like program will suffice for programming in Java. Hardcore programmers sometimes prefer to use text editors that are within the terminal such as vim and emacs. A very good text editor that can be installed on both a Windows machine and on a linux-based machine (Mac, Ubuntu, etc.) is Sublime Text, which is what we will be using in this tutorial.
3.Make sure that you have the Java Software Development Kit installed. You will need this for compiling your program.

  • In a Windows-based operating system, if the environment variables are not correct, you might get an error when running javac. Refer the installation article How to Install the Java Software Development Kit for more details about JDK installation to avoid this error.

public class HelloWorld {
public static void main(String[] args) {
System.out.println(“Hello, World”);
}
}