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
77 views
0
I saw StringBuilder and StringBuffer, but I don't understand

I saw StringBuilder and StringBuffer, but I don't understand What is the difference between the two? Is there a difference in performance?


1 answers
119 views
0
Can I call a constructor from another constructor?

Is it possible for a constructor to call a constructor within the same class? Not the lower class.What do I do?

2 years ago

1 answers
171 views
0
What do you do with HashMap when you turn the repeat door?

You want to check the data of an object in HashMap How do I turn the repeat statement on HashMap?

2 years ago

1 answers
125 views
0
Does the Android device have a unique ID?

If there is a unique device ID on Android, how can I access the ID?


1 answers
88 views
0
How do I declare an array?

How do I declare the arrangement?

2 years ago

1 answers
146 views
0
Can I put the default value in the parameter in Java?

public MyParameterizedFunction(String param1, int param2) { this(param1, param2, false); } public MyParameterizedFunction(String param1, int param2, boolean param3) { //use all three parameters here...


1 answers
158 views
0
How do I compare strings?

I always used == when comparing strings, but when I changed it to .equals() because of a bug while coding last time, It's fixed. Why did == get a bug? What's the difference from equals()

2 years ago

1 answers
146 views
0
How do I input and output files in Java?

I want to create a text file What do I do?

2 years ago

1 answers
29 views
0
What exactly is Apache Camel?

I'm looking at Apache Camel and I don't understand exactly what it's doingPlease explain.

2 years ago

1 answers
116 views
0
Splitting strings in Java

There is a string called 004-034556, separated by '-' string1=004;string2=034556;I want to split it like this. So I want to find '-' and make an exception if there is none, what should I do?

2 years ago
« - 62 - »

© 2024 OneMinuteCode. All rights reserved.