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
22 views
0
I have a question about compiling the java package.

https://github.com/nearbydelta/KoreanAnalyzerI'd like to use the program listed on the link above.I'm not sure what I'm supposed to do when I'm asked to compile the project source code.Are you asking ...

2 years ago

1 answers
85 views
0
When creating a table on Android sqlite, what should I do when there is no data in the beginning?

When creating a table on Android sqlite, what should I do when there is no data in the beginning?

2 years ago

1 answers
60 views
0
How do I parse sites like this?

https://finance.daum.net/exchangesI'd like to parse the above site The screen that comes out of the source view and the F12 press in Chrome is different, so I can't read the data in normal cases When ...

2 years ago

1 answers
143 views
0
Instanceof and Class.isAssignableFrom(…)What's the difference?

a instance of B Me B.class.isAssignableFrom(a.getClass())The difference I know in is that if a is null, instanceof returns false, and isAssignableFrom drops exception. Other than that, are they all th...

2 years ago

1 answers
46 views
0
I want to read all the files in the folder.

I want to read all the files in the folder in Java, what should I do?

2 years ago

1 answers
24 views
0
I have a question about Java input and output.

In C language, the input and output are printf(); and scanf();In C++ language, it is cout <<;; and cin >>. Java has System.out.println(); System.out.print(); and so onI wonder if there is ...

2 years ago

1 answers
63 views
0
What is the difference between System.currentTimeMillis and System.nanoTime?

What is the difference between System.currentTimeMillis and System.nanoTime?

2 years ago

1 answers
84 views
0
How to replace ArrayList with String[] array

String [] stockArr = {hello, world};This worksString [] stockArr = (String[]) stock_list.toArray();Why isn't this working?How do I change ArrayList to String[]?

2 years ago

1 answers
53 views
0
To replace an object array with a String array in Java

Object Object_Array[]=new Object[100];String String_Array[]=new String[Object_Array.length];for (int i=0;i<String_Array.length;i++) String_Array[i]=Object_Array[i].toString();Code to convert an obj...

2 years ago

1 answers
85 views
0
How do I use functions like final in java in C#?

How do I use functions like final in java in C#?

« - 96 - »

© 2024 OneMinuteCode. All rights reserved.