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
26 views
0
When ! is used in Java

If you look at the codes, say if (!s.add(a))!I've seen things like equals (Ninput.getText()What do you mean by interpreting this? If ! is in front of you, it's my first time seeing it, so I'm asking y...

2 years ago

1 answers
104 views
0
Look if UML expression is awkward

We are practicing to return to the inheritance or implementation relationship with UML as much as possible.It's impossible to know which units are moving and which are capable of ground or air attacks...

2 years ago

1 answers
77 views
0
Eclipse installation questions

I'm trying to install Eclipse on my laptop, but it says Java is not recognizedWhat can I do to install Eclipse?Java is installed and when you try to install Eclipse, go to the homepage I heard that it...

2 years ago

2 answers
153 views
0
Here's a question for Java class conversion!

I am studying Java again, and I am posting a question because I have a question.public class super{ public int one= 11; public int two= 22; public void one_method() { System.out.println(super one_met...

2 years ago

1 answers
66 views
0
java split() method return type question

Hello, I'm trying to use split() method in Java. Scanner reader = new Scanner(System.in); String inputValue = reader.nextLine(); System.out.println(inputValue); //5,6,7 String[] splitedValue = inp...

2 years ago

1 answers
22 views
0
I wonder why the number increases by 48 when converting intchar type in JAVA Eclipse

int a=1;char b=(char)a;int c=(int)b;Debugging by load, c is 49 when b is 1, b is 2 and c is 50 initialized I'd appreciate it if you could tell me why this happened

2 years ago

1 answers
25 views
0
java extensions question

Hi, everyone.I'm learning the extensions part, but I don't understand the XYZ class part.Does Xxyz in XYZ class mean calling Z()?I tried to make it workXYZI saw the printout, but the execution process...

2 years ago

1 answers
144 views
0
How to import two versions of one library from Java Gradle

Bringing dependency to GradleI need a library called A and B.However, both A and B need different versions of the library called C, resulting in library conflicts.I need to get C for A, and another ve...

2 years ago

1 answers
117 views
0
I want to know what part I should study to make a program.

I will be discharged from the military in November this year and return to school in March next year, but I have a question because I want to study before returning to school.When I was a freshman, I ...

2 years ago

1 answers
27 views
0
[JAVA basics] What's the reason for garbage collection?

int[ ] n = new int [10];for(int i=0; i<10; i++) { Scanner s = new Scanner(System.in); n[i] = s.nextInt(); } In this code, while the for statement is repeated 10 times, the nine objects assigned to ...

2 years ago
« - 92 - »

© 2024 OneMinuteCode. All rights reserved.