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
37 views
0
I want to output the ip address value using the java InetAddress class, but how can I output the ip value of several urls instead of one?

package getParser.java;import java.net.*;class InetAddressTest{ public static void main(String[] args){ InetAddress addr = null; InetAddress[] addrArr = null; String name = www.naver.com; addr = I...

2 years ago

1 answers
100 views
0
How does CharSequence change to String?

How does CharSequence change to String?

2 years ago

1 answers
92 views
0
I want to parse the JSON code in Java, how do I do it?

I want to get the values of pageName, pagePic, post_id, etc. from the json code below, what should I do??{ pageInfo: { pageName: abc, pagePic: http://example.com/content.jpg } posts: [ { post_id:...

2 years ago

1 answers
119 views
0
How to read the fields in the class to find out what type

Can you examine the class of instances that a variable has in Java? I would like to read the fields one by one and check the type.

2 years ago

2 answers
127 views
0
Java Index 1 out of bounds for length 1 error question.

12345678 1 lee1 010-1231-5678 // 11345678 2 lee2 010-1232-5678 ......An example of reading a file with these characters, separating it into objects, and storing them as files.But you have to separate ...


2 answers
26 views
0
I have a question about Java programming practice.

HW#2_1 Sum of 1 to n with limited maximum value The user inputs the number max, and obtains a maximum n whose sum from 1 to n is less than the input max.Ex) Enter a maximum value: 100 The sum from 1 t...

2 years ago

1 answers
22 views
0
To compare whether the value of BigDecimal is greater than zero

How do I compare if the BigDecimal value is greater than zero?

2 years ago

1 answers
38 views
0
I'm using OpenCV. I think I need to reduce the size of the transfer data, but I need your help.

Raspberry Pi is transferring Mat objects over OpenCV to Java Server. Some code for the client partial code.Converts Mat objects to images, converts them back to buffer images, and sends them to the se...

2 years ago

2 answers
43 views
0
How to know null and empty in String in Java

I searched Google, but it didn't come out, so I'm asking you a question. Is there any method in the Java Standard Library that allows you to know that the string is empty or null?

2 years ago

1 answers
98 views
0
Hello, I have a question about the telecommunications live reader, volley, so I am posting it like this.

Hello, I am trying to use volley while using http client, but the server can only send EUC-KR, so while I was trying, the Korean alphabet kept breaking and I am uploading it like this. volley is Buffe...

2 years ago
« - 97 - »

© 2024 OneMinuteCode. All rights reserved.