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
92 views
0
What is the difference between ArrayList and Vector?

What is the difference between the two data structures of ArrayList and Vector? Where should I use each of them?

2 years ago

1 answers
24 views
0
Java numeric range output

I want to print out the range by comparing random numbers to the number entered in Java, but how do I print out the range?For example, if you enter a number out of 0 to 99 numbers, and the number is l...

2 years ago

2 answers
105 views
0
I want to get a key and value pair randomly from java map

I used hash map to interpret English words as key and value, read one line at a time, and saved it I want to print this out randomly, but I don't know what to do.

2 years ago

1 answers
61 views
0
How to get the value of a DB in SQLite on Android as boolean

Is there a way to get the value of the DB from Android to SQLite in boolean? I usually use getString() or getInt(), but is there a method like getBoolean?

2 years ago

4 answers
77 views
0
I'm developing the Java Web. Do you use Lombok in practice?

We are developing the web with springs.The company is only modifying the coat that the shooter gives me...I'm going to study personally.https://github.com/origoni/Spring-BlogLooking at this coat, I ca...

2 years ago

1 answers
23 views
0
[HTML] How to make it close when you click on the accordion menu?

When you click on the first menu and click on the next menu, Both the first menu and the next menu open.When there's an accordion menu [1][2][3]... If you click on the first menu, it opensIf you click...

2 years ago

1 answers
27 views
0
I would like to ask you how to generate random numbers with java ordered character values.

Client to If you press the button I provided on the Internet,You want a string and a random number to appear.What I thought wasa123...z123Start with uppercase when lowercase ends A123...Z123 I want to...

2 years ago

1 answers
103 views
0
I'd like to modify the condition of the Java infinite repetition calculator.

The program below is infinite hanbok calculation.I did it as I was taughtYou don't have to enter the number twiceI want to input two at a time and then input the operator immediately to print it out.A...


1 answers
107 views
0
How to change String to Uri

For example, there's a string called songchoice and I want to change it to Uri. So I'm going to use MediaPlayer.create(context,Uri)How do I change String to Uri?

2 years ago

1 answers
103 views
0
What is the difference between war and jar in Java?

What is the difference between a .jar file and a .war file in Java? Is the extension different? Is there any other difference?

2 years ago
« - 115 - »

© 2024 OneMinuteCode. All rights reserved.