What are the basics of Java

What are the basics of Java

Hi,

I want to know the basics of Java. I have no programming experience and want to learn it. What are the basics of Java?

Thanks

View Answers

August 5, 2020 at 6:55 PM

What are the basics of Java?

Java is a programming language which is platform independent and runs on Linux, Windows, Mac and other operating system. It is designed to be used with high-level abstractions and methods that have a lot of functionality. It has a wide range of functional programming languages and multiple languages for different types of objects (programs, collections, and structures).

Java is an open-source language. In order to make it more accessible to people who don't understand these technicalities, Java is available for a free download from the oracle.com or from https://openjdk.java.net/.

Read on to find out about the basics and learn about Java and its components. Tutorials here will teach you the basics of Java. If you've ever done anything in programming before and are still confused then you can learn a lot from our tutorials.

The Basic Concepts of Java

Java programs are written in Java programming language as text file and saved at .java file. This file is then compiled using the Java compiler. Java compiler converts Java code into byte code which is run by host Java Virtual machine on the computer.

Java is platform independent and you can run compiled Java code on all operating systems having JVM installed on to it.

JRE and JDK are the main packages that every Java application uses. JNI is a Java extension to this package. JNIs are compiled down to run on Java Virtual Machines and run the VM. JAVA, which stands for Java Development Kit, is the software that all developers are using to develop programs.

The Java Virtual Machine (JVM) is an execution environment for the Java language of which Java applications are developed. The JVM provides an environment that allows you to create, compile, package, and link Java programs. The JVM includes such features as garbage collection, multithreading support, access to the JRE runtime through virtual machines.

If you want to learn Java from beginning then check out tutorial:

Complete Java Programming tutorial.

Java Basics Exercises Tutorial

How to Get Started with Java?

Thanks









Related Tutorials/Questions & Answers:
What are the basics of Java
What are the basics of Java  Hi, I want to know the basics of Java. I have no programming experience and want to learn it. What are the basics of Java? Thanks   What are the basics of Java? Java is a programming
java basics
java basics  What is composition
Advertisements
java basics
java basics  What is a package
java basics
java basics  What is Locale
java basics
java basics  What is the use of prepared-statement
Java basics
Java basics  What is the difference between this() and super
Java basics
Java basics  What is the preferred size of a component
java-basics
java-basics  What are methods and how are they defined
java basics
java basics  What is a void return type
java basics
java basics  What is skeleton and stub
java basics
java basics  What is a local, member and a class variable
Java basics
Java basics  What do you mean by Legacy class
java basics
java basics  What do you mean by a Classloader?  The Java Classloader is a part of the Java Runtime Environment that dynamically loads Java classes into the Java Virtual Machine
java basics
java basics  What are the implicit packages that need not get imported into a class file
java basics
java basics  What is a hashCode?  Objects in Java have hashcodes associated with them. Object's hashcode is a signed number that identifies the object, but it is not unique for every object
JAVA Basics
JAVA Basics  What is the byte range?  We can find the range as 2^8=256, so The range of the byte is -128 to 127
JAVA Basics
JAVA Basics  What is byte code?  Java programs are compiled and compiler generate a class files which contain byte codes. These byte codes can be run in any platform which makes java platform independent language
java basics
java basics  What is a native method?  The Java native method is a great way to gain and merge the power of C or C++ programming into Java. To use Java as a scientific and high performance language, when efficient
java-basics
java-basics  please tell me, what is the Difference between JRE,JVM and JDK?  hi, JDK or the Java Development Kit is a set tools include compiler (javac.exe), Java application launcher (java.exe), Appletviewer
java basics
java basics  What is finalize() method ?  The java run time calls that method whenever it is about to recycle an object of that class. The intent is for finalize() to release system resources such as open files
java basics
java basics  What is garbage collection?  garbage collection is a process by which jvm implicitly or we can call the method explicitly garbageCollector() which deallocate the declared object when there reference becomes
java-basics
java-basics  dear sir, What is the range of the char type?   The range of the char is calculated as 2^16-1. according this the range of char is 0 to 65536
java basics
java basics  What are the different driver types available in JDBC... Java driver, also called Type 2. JDBC-Net, pure Java driver, also called Type 3. Native-protocol, pure Java driver, also called Type 4
java basics
java basics  What is an applet?  An applet is a program written in the Java programming language that can be included in an HTML page, much in the same way an image is included in a page. When you use a Java
java-basics
java-basics  hi,anybody tell me What is the use of bin and lib in JDK?  Lib contains all packages and variables.Data types,Variables and Arrays.and Bin contains all tools such as javac, applet viewer, awt tool etc
java basics
java basics  What is an Object and how to allocate memory?  Object is an instance of a class and it is a software unit that combines a structured set of data with a set of operations for inspecting and manipulating
java basics
java basics  What is the use of transient keyword?  The transient keyword is applicable to the member variables of a class. The transient keyword is used to indicate that the member variable should not be serialized
java basics
java basics  What is the difference between Assignment and Initialization?  Initialization means whenever we initialize any var. at declaration time. int i = 0; is an initialization Assignment means whenever we
java-basics
java-basics  hi,tell me what is the JIT and usage of it?  The just-in-time compiler compiles byte code into native machine language.Java programs compiled by a JIT generally run much faster than when the bytecode
java basics
java basics  What is meant by Inheritance and what are its advantages?  Inheritance is the relationship among classes, in which one class can use the structure or behavior of one or more classes. The class which inherit
java basics
java basics  What are wrapper classes?  When we need to store primitive datatypes as objects, we use wrapper classes. Wrapper class... as a Boolean class instance. All of the primitive wrapper classes in Java
Java basics
Java basics  Which is not Object in Java
java basics
java basics  What is Class.forName() does and how it is useful?  Class.forName()- It is mainly used to load the classes at run time when you are not able to decide which class to load, which may depend on some
java basics
java basics  What is inner class?  Inner classes are essentially classes defined inside other classes and act like members of the enclosing class. There are two varieties of inner classes, static inner classes and non
java basics
java basics  What is the difference between superclass and subclass?  The class which inherit the property of another class is known as "subclass" and the class who shares it's structure and behavior is called as "super
java basics
java basics  Is there any difference between Execution Engine and the JIT in java
Java basics
Java basics  Why Java is not purely object oriented
java basics
java basics  What is the difference between interface and abstract class?  Interface- Interfaces are syntactically similar to classes but they don't have instance variables and methods are declared without any body
java basics
java basics  What are Encapsulation, Inheritance and Polymorphism?  Encapsulation - Hiding the implementation details of a Class. Once a class is Encapsulated then we Cannot directly access that class
java basics
java basics  Can an Interface be final
Java basics
Java basics  Differences between applications and applets
Java basics
Java basics  Explain about Initialization Blocks
Java basics
Java basics  When is static variable loaded
java basics
java basics  What is method overloading and method overriding?  Overriding -when you extend a class and write a method in the derived class which is exactly similar to the one present in the base class, it is termed
java basics
java basics  What is difference between overloading and overriding?  Overriding - same method names with same arguments and same return types associated in a class and its subclass. class rose{ public void show
Java basics
Java basics  Why only one Class is public in one file
Java basics
Java basics  Can we create an object for an interface
java basics
java basics  how to show all the decimal places in a double value
java basics
java basics  Write a java program to calculate the sum of the series as given below: 1 - 2 + 3 - 4 + 5 - 6 + 7 - 8 + 9
java-basics
java-basics  hi anybody tell me, JVM is a compiler or an interpreter?  JVM is not a compiler, it is a interpreter

Ads