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
139 views
0
Can you sort ArrayList with a specific method of objects?

I understand that you can arrange the ArrayLists with a comparator. But if you look at all the examples that use compareTo, it seems to be a method for strings.I want to sort the ArrayList with a spec...


1 answers
80 views
0
Is there a tool to extract Java projects into class diagrams?

I have to submit the output as a class diagram, but it's not small, so it's kind of weird to fill it out one by one... I'm looking for a tool that can be extracted by project or package.I tried Object...

2 years ago

1 answers
147 views
0
Is it wrong to use the == operator when comparing float in Java?

Here java.According to the sun page, == is an equivalent comparison operator for floating point number in Java.However, write these codes in the editor:if(sectionID == currentSectionID)When I run Stat...


1 answers
32 views
0
How to get a class name without a package

In C#, there are Type.FullName and Type.Name as a way to get the name of type without namespace. Is there a way to get the name of class without package in Java?Type of C# in Java.What is there to pla...

2 years ago

1 answers
101 views
0
Is it possible to give several conditions in @Cacheable?

I want to use Cacheable Annotation to cache Spring.I think there should be several conditions. @Cacheable(value = item, condition = #filter.size == null)It works fine with @Cacheable(value = item, con...


3 answers
69 views
0
I am writing a file input/output program that will use the Java socket, and I am asking you this question because of the EOFException process in readUTF to the client

A program where multiple clarifiers access and chat on a single server When the server enters option, the menu pops up, and when you select File Transfer, you enter the file path, decide who to send i...

2 years ago

1 answers
155 views
0
Why does NoClassDefFoundError occur in Java?

A NoClassDefFoundError occurred when running the Java application. Why does this generally happen?


1 answers
42 views
0
[Java Programming] When I turn FileWriter on a while statement, I get an error.

Hello, I am a student who is learning Java.I'm making a diary program for my school assignment. Using File Class such as FileWriter and FileReader in Java, diaries and schedules were saved as notepads...

2 years ago

1 answers
115 views
0
Java: How to read a text file

You want to read a text file with a space character delimited value. What should I do? And how do you store that read value in an array list?For example, of the text file data .1 62 4 55 5 6 77I'd lik...


1 answers
53 views
0
I want to create a Java client that follows Ajax calls that are made on the website.

Below is the Ajax code that I want to perform.The page is the website of Pusan National University and I got the data I wanted from the basic html code, but I couldn't get the information from Ajax ca...

2 years ago
« - 75 - »

© 2024 OneMinuteCode. All rights reserved.