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


3 answers
72 views
0
Determine if the 'Like' button was pressed in the post list

There is a bulletin board table and a like table separately Bbs.javaprivate int id;private String title;private String content;private int likeCount;private User writeUser;// I don't know if I should ...

2 years ago

1 answers
60 views
0
I process JSON from Java to Jackson, but I want to check the data before conversion.

JSON was converted into an object using Jackson 2.7.3 version.Question 1. I want to check the JSON value before converting JSON into an object, how do I do it?Question 2. If number 1 is possible, NULL...

2 years ago

3 answers
166 views
0
Why can only higher-class methods be used if class-type conversion is performed in Java?

The most incomprehensible part is that the parent class' method is only available when the type transformation is performed.Although it can be understood that the ultimate purpose of transforming the ...

2 years ago

1 answers
30 views
0
The class name in the code executor.I don't know why the java error appears.

Public class course object { // Member variable String Subject Name;//Completed String subject code; String Subject Classification;//Completed String Score;//Completed String purpose of lecture; Strin...

2 years ago

1 answers
142 views
0
What is the difference between an inner class and a static nested class in Java?

What is the main difference between an inner class and a static nested class in Java? When designing and implementing, what are the criteria for choosing one of these?

2 years ago

2 answers
134 views
0
I am using String.equals() sentence in If conditional statement, is there any method or method to reduce it further?

Currently, I am writing an if sentence as below. By the way, I want to compare the word WORDS with the corresponding objects and the equivalents of a specific word, is there a way to make it simpler?O...

2 years ago

1 answers
47 views
0
How do I save values stored in an array as a text file in Java?

You want to save strings stored in an array as a text file. I don't know what to do.

2 years ago

1 answers
43 views
0
Hello. I've implemented the bulletin board through webview using gnuboard as Android Studio. The file attachment function is not working.

Hello, I'm making an app with Android Studio. (Beginner)It works well on mobile by bringing the Nuboard 5 bulletin board to the fragment as a web view.However, if you click the Attach File button to c...

2 years ago

1 answers
90 views
0
How do forach iterations work in Java?

List<String> someList = new ArrayList<String>();// // add monkey, donkey, skeleton key to someListfor (String item : someList) { System.out.println(item);}Can I define the same thing using...


1 answers
29 views
0
I have a question about the command failed error related to the hash code executor Java code

public class subject { // Member variable String subcode; String subtype;//Completed String gradenum;//Completed String subpurpose; String subgoal; String subbook; String subname; String profname; boo...

2 years ago
« - 76 - »

© 2024 OneMinuteCode. All rights reserved.