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
120 views
0
[Java] A function that displays the size of a variable, such as sizeof

In C language, there is a function called sizeof as a function to check the size of a variable.Is there any function or class in Java that acts like size of C?If not, is there any way to print out the...

2 years ago

1 answers
110 views
0
For Moon, please help me

It's Java.I'm going to make a lotto number application simple.In the For Moon, where you turn the order according to the number of spinners,If you take a picture of log, there are 3, 4, and so onThe a...


1 answers
46 views
0
Java Image Conversion

I'm trying to convert the size of the Java image to a smaller sizeThe image is broken using getScaledInstance()Is there any other way?

2 years ago

1 answers
31 views
0
Among Java music playback libraries, what are the representative libraries supported by Linux?

What is a typical Java music playback library that is supported by Linux??

2 years ago

1 answers
79 views
0
Long question on Android

inti = 11818518518518581; I know that this should be corrected to long. So I know that you have to put an L after long i = 11818518518518581L to recognize it as long.But now longi = arraylist.get(arra...


1 answers
31 views
0
I'm an introvert to Java

package project;import java.util.Scanner;public class Grading { public static void main (String[] args) { char grade; Scanner a = new Scanner(System.in); while (a.hasNext()) { int score = a.nextIn...

2 years ago

1 answers
50 views
0
I'm worried about the difference between Raspberry Pi and PC speed during TCP communication...

We are communicating TCP using Raspberry Pi (client) and PC (server).The current data is sent by changing the photo file taken with the camera to byte, and the server changes it to buffed image and di...

2 years ago

1 answers
69 views
0
To get the annotation applied to the method of service (@Service) in spring mvc

Hello.public class DataSourceRoutingInterceptor extends HandlerInterceptorAdapter { @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws ...

2 years ago

1 answers
140 views
0
There is a problem reloading the saved Checkbox value.

Hello. I'm developing an Android app, and after selecting a check box in the Listview in my app, I need to put a specific text in the ArrayList and save that part, and then turn it back on using the s...


1 answers
137 views
0
When creating class objects in Java, the types are different.

Hi, how are you?This is how you create a class objectYo MyObject object = new MyObject();I'm studying jsp code reviewIf there's MyObject at the front and MyObject at the back of the new, Your type? I ...

2 years ago
« - 81 - »

© 2024 OneMinuteCode. All rights reserved.