Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the spectra-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home4/mahidhar/public_html/wp-includes/functions.php on line 6114
Java Archives | Page 5 of 6 | tutorialQ

Java

JDK, JRE, JVM

JDK – Java Development Kit Java Developer Kit contains tools needed to develop the Java programs + JRE to run the programs. Compiler converts java code into byte code. Java application launcher opens a JRE, loads the class, and invokes its main method. To write your own programs, and to compile the programs. For running java programs, JRE […]

JDK, JRE, JVM Read More »

Java Features

Below are some of the unique features of Java. Platform Independent − Unlike many other programming languages including C and C++, Java is not compiled into platform specific machine code, rather into platform independent byte code. This byte code is interpreted by the Virtual Machine (JVM) on whichever platform it is being run on. Simple& Secure

Java Features Read More »

Java

Introduction to Java AI generated image for Java Roadmap Importance of Java Java is one of the most popular and widely used programming languages in the world. Its platform independence, robust performance, and extensive libraries make it a top choice for developing a wide range of applications, from mobile apps and enterprise software to web

Java Read More »

ArrayList

Introduction to ArrayList What is ArrayList? ArrayList is a part of the Java Collections Framework. It provides a dynamic array for storing elements, which can grow and shrink in size automatically when elements are added or removed. It is found in the java.util package. Why Use ArrayList? Importing ArrayList To use ArrayList, you need to

ArrayList Read More »

Collections Hierarchy

Collections Hierarchy Java maintains collections framework in java.util package. Set, List, Map and Queue are the core interfaces in the Collections framework. A Set is a special kind of Collection, a SortedSet is a special kind of Set, and so forth. Note also that the hierarchy consists of two distinct trees — a Map is not

Collections Hierarchy Read More »

Java Collections

About Collections Framework: Collections are used to store, retrieve, manipulate, and communicate aggregate data. Collections represent data items that form a natural group, such as list of students, telephone directory etc., Java collections framework is a collection of interfaces and classes which helps in storing and processing the data efficiently. The collections framework defines several

Java Collections Read More »

Interface vs Abstract Class

In this post we will learn difference between Abstract Class and Interface in Java with examples. Each of the above difference between Abstract class vs Interface is explained with an example below – Abstract Class vs Interface in Java Introduction In Java, both abstract classes and interfaces are used to achieve abstraction, which allows you to define methods

Interface vs Abstract Class Read More »

Main method – The Entry point

public static void main(String [] args) This line of code is necessary for compiler to execute code in Java. You need to have a method named main in at least one class. We will take a real world example and dig into the keywords and execution cycle below: public class mainDemo { public static void

Main method – The Entry point Read More »

Java Keywords

Java Keywords The following list shows the reserved words in Java. These reserved words may not be used as constant or variable or any other identifier names. abstract assert boolean break byte case catch char class const continue default do double else enum extends final finally float for goto if implements import instanceof int interface

Java Keywords Read More »

Scroll to Top