java tutorials for beginners basics
Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Java Tutorials – For Beginners

Good evening everyone, Surendra Uppari here and today we are going to learn about JAVA tutorials for beginners and basics. In this short span of time let us know what is java and how to start java for beginners. We will learn core Java first and then advanced java.

What is Java basically?

Java is a programming language and it is platform independent. Whenever do we ask a professor about What is Java they will tell this information but, as simple as we can tell, Java is everywhere from the software you use in mobile and Laptop’s to the game you with a remote control IoT car.

Example: Any latest software you use in a laptop like latest games uses JAVA as a programming language. This will make the game available in all platforms of Operating systems like Windows, Linus, Ubuntu, iOs etc.,

The process involved in JAVA:

There are three stages involved in JAVA.

  1. Coding
  2. Compilation
  3. Execution

1. Coding:

Writing code using JAVA syntax is mandatory. As you’ve seen in many programming languages forgetting a single “;” semicolon can mess up our work. Similarly, forgetting the syntax in JAVA also makes it mess.

How to write code in JAVA?

We can make use of Editors like Notepad, Notepad++ or EditPlus to write programs in them and save them with .java extension. Execute them by installing JDK.

Further process on How to install JDK in Windows 8.1/Windows 10/ Windows 7 is shown below after explaining all of these steps involved.

2. Compilation:

Java compiler which comes in JDK compiles the JAVA code into bytecode. All the bytecode is saved in a .class file which will generate after successful compilation.

3. Execution:

JVM – Java virtual machine present in JDK is responsible for executing bytecode in any platform.

What is JDK?

I know you’re a little confused and want to ask about JDK right? JDK abbreviation is Java development kit. JDK contains JRE and JVM. Java development kit containing Java runtime environment and Java virtual machine. These are responsible for executing our program.

How to install JDK in Windows 7/ Windows 8.1/ Windows 10?

  1. Go to Oracle website and downloads Visit: Download free java
  2. Accept the license agreement of your version and select Windows to download the software.download free JDK,java tutorials for beginners
  3. After successful Download open the EXE file location and install it.
  4. Now go to Eclipse and Download Eclipse for JAVA developers. Visit: Eclipse IDE download for freeeclipse java, eclipse for java developers, eclipse IDE, java tutorials for beginners
  5. You don’t need to install the Eclipse IDE for JAVA developers as it comes in .Zip format. You just need to extract it and run it from anywhere.
  6. After this just create a new folder in any drive or Desktop and copy the URL of your folder. Once you open the Eclipse for the first time, it will ask for Workspace location paste that new folder location. That New folder is a folder where your programs you will store.

Video: Video is under construction about java tutorials for beginners, we will post it once it’s created. May take 2 days for editing.

Writing your first program in JAVA:

  • Open Eclipse IDEhow to open eclipse
  • Select File –> New –> Project –> Java projecthow to create a new java project
  • It will ask for Java project name and write your project name “Hello”how to create a project in eclipse
  • Right click on SRC i.e Source and  Select New –> Package and name it as com.android.www or anything you want it to.how to create a package in eclipse
  • Select Package and create a new class file. This is where you write the program.how to create a class in eclipse
  • Write your First Hello World programwriting your first hello world program in JAVA, Java Tutorials - For Beginners Good evening everyone, Surendra Uppari here and today we are going to learn about JAVA tutorials for beginners and basics. In this short span of time let us know what is java and how to start java for beginners.

Also Read: What is the need for Python Programming?

 

Writing your First Hello World Program:

public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello user"+ "\n" + "Welcome to InStories Java tutorials");
}
}

Copy the above folder from System.out.println(“Anything you want to show in output, you can write here”);

Topics in JAVA:

  1. Data Types
  2. Modifiers
  3. Variables
  4. Operators
  5. Flow Control and looping statements(Conditional, Loop, and Branching)
  6. Strings
  7. Methods (pre-defined, and User-defined)
  8. Object-Oriented programming
  9. Inheritance
  10. Polymorphism
  11. Abstraction
  12. Encapsulation

Let us talk about them briefly in next sessions. These are the topics which are needed for JAVA basics. The Topics in JAVa mainly concentrate on how to utilize the code instead of creating methods.

 

Tags: java Tutorials – For Beginners, java topics, what is java, why java, java for beginners, java tutorials, java tutorials pdf, java tutorials videos, java tutorials basics, java tutorials for beginners, java tutorials for beginners videos,

Java tutorials – For Beginners from basics

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *

Skip to toolbar