java tag

Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let programmers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need to recompile. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but has fewer low-level facilities than either of them. The Java runtime provides dynamic capabilities (such as reflection and runtime code modification) that are typically not available in traditional compiled languages. As of 2019, Java was one of the most popular programming languages in use according to GitHub, particularly for client–server web applications, with a reported 9 million developers.

Java was originally developed by James Gosling at Sun Microsystems and released in May 1995 as a core component of Sun Microsystems' Java platform. The original and reference implementation Java compilers, virtual machines, and class libraries were originally released by Sun under proprietary licenses. As of May 2007, in compliance with the specifications of the Java Community Process, Sun had relicensed most of its Java technologies under the GPL-2.0-only license. Oracle offers its own HotSpot Java Virtual Machine, however the official reference implementation is the OpenJDK JVM which is free open-source software and used by most developers and is the default JVM for almost all Linux distributions.

As of March 2022, Java 18 is the latest version, while Java 17, 11 and 8 are the current long-term support (LTS) versions. Oracle released the last zero-cost public update for the legacy version Java 8 LTS in January 2019 for commercial use, although it will otherwise still support Java 8 with public updates for personal use indefinitely. Other vendors have begun to offer zero-cost builds of OpenJDK 18 and 8, 11 and 17 that are still receiving security and other upgrades.

Oracle (and others) highly recommend uninstalling outdated and unsupported versions of Java, due to unresolved security issues in older versions. Oracle advises its users to immediately transition to a supported version, such as one of the LTS versions (8, 11, 17).

Reference: WIKIPEDIA

1495 questions


1 answers
24 views
0
Where is the language Java often used other than the web these days?

Where is the language Java often used other than the web these days?

2 years ago

1 answers
105 views
0
I don't know how to resolve Java NullPointerException.

Using a generic stack, you are writing a code that converts a median expression to a posterior expression, then outputs an expression, and then outputs an answer, but the expression is still printed d...


2 answers
22 views
0
I'm asking you a question because I got stuck while solving Java example.

int num=0; int count=0; while (num++<100) { if(num%5!=0 || num%7!=0) continue; count++; System.out.println(num); } System.out.print(count : + count); }}//If you're looking at the example for ...

2 years ago

1 answers
131 views
0
Can you compare arrays of different lengths?

public static void main(String[] args) { int[] array1 = new int[4]; int[] array2 = new int[7];Arrays.equals(array1,array2);}I don't get an error even if I do this, but I'm not sure if I compared it pr...

2 years ago

3 answers
33 views
0
It's a question about the if statement

Code is Java, but not limited to Java. The code below is to create a class in a single tone pattern. public class Company { Create constructor with privateCompany(){}; //private private static Company...

2 years ago

1 answers
33 views
0
Can c++ code by dividing .cpp and .h in java?

When coding for c++ assignments, In the .h file, class declaration, private variable declaration, public functions (parameters); After doing this, cpp implemented the function. Can Java code in this w...

2 years ago

1 answers
26 views
0
I have a question about the meaning of the symbol (i).

Recently, I was watching a YouTube lecture ¦ <-- I saw a symbol that looks like this, what does it mean? Does it mean something similar to a colon?

2 years ago

1 answers
67 views
0
JavaoracleDB Connection Pool

Hello, I am learning the web application through eclipse.I have a question while I am currently working on inserting and printing data in conjunction with Eclipse using the oracle developer database.W...

2 years ago

1 answers
24 views
0
Java static and main method questions.

This is the content of the assignment.Requirement 4: The constructor of the Market class internally initializes the scanner class and each class array upon creation, and sets the length of the class a...

2 years ago

1 answers
154 views
0
Question about intelliJ java setting

Beginner being set up to implant Java in intelliJ.There are two main questions.

« - 89 - »

© 2024 OneMinuteCode. All rights reserved.