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
30 views
0
I want to add setName method to Person class in Java

I just started programming, so I'm sorry if you're saying something strange.I'd like to add a new setName method to the Person class (the getName and getAge methods are defined), but how can I do it w...

2 years ago

1 answers
35 views
0
"Cannot convert int type to int[]" error when running Java program

When I wrote the program below, I received an error saying that I could not convert the int type to int[].I want to do this because I want to set the two-dimensional array from [0][0][9][9] and substi...

2 years ago

1 answers
29 views
0
Notification.setLatestEventInfo symbol not found and cannot be compiled

I am creating a program that displays notifications, but the notification.setLatestEventInfo part cannot be compiled because the symbol is not found.import android.support.v7.app.AppCompatActivity;imp...

2 years ago

2 answers
39 views
0
Unable to Verify Files That Should Be Java Files.exists

java:jdk9.01os:linux Red Hat 4.8.5-11 Check the Java code for files that other programs output every few seconds and I'm trying to write a code that says I'll move on once I've confirmed it exists.int...

2 years ago

1 answers
66 views
0
What Causes 500 Errors in Java and How Do I Investigate?

When I debug Java projects on a server in Eclipse, I get 500 errors.I think it's a tomcat configuration or an error around DB, but I don't know why.Environment:Java 8tomcat v8.5 org.springframework.be...


2 answers
30 views
0
Please tell me the meaning of the appended method? in the if sentence.

I am having trouble understanding the following expression return and subsequent notation.private String fm(float value){ return(value<=0)??+value:++value;}Is it a kind of if sentence?I think so, b...

2 years ago

1 answers
34 views
0
How Java loads binaries and text files into String

Java is having trouble loading binaries and text files into String.What's troubling you?File size statement, repeatedly loading buf size 1024 bytes, but Finally, it will be less than or equal to the f...

2 years ago

1 answers
45 views
0
Understanding At Coder Problems (Colorful Subsequence)

I don't understand the problem with the atcoder below.https://atcoder.jp/contests/agc031/tasks/agc031_aI looked at the explanation and the AC code, and found that c[each character - 'a']++ in the size...

2 years ago

1 answers
70 views
0
I would like to change the exposure correction value of the camera using CameraControl of AndroidX.

We are currently creating a program to launch the camera on Android devices using the following programs:package com.example.mycameraxapp;import androidx.appcompat.app.AppCompatActivityimport android....

2 years ago

3 answers
78 views
0
Parameterized queries complicate and slow execution plans

I use JDBC and SQL Server 2016 Standard.Even though it's simple SQL, it's a mysterious execution plan, and I'm having trouble performing.The query issued by the application via JDBC looks like the fol...

2 years ago
« - 48 - »

© 2024 OneMinuteCode. All rights reserved.