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


2 answers
25 views
0
I'm going to bring up the music on my Android phone in a list format. How can I retrieve the music title, album, and singer information on the device and present it in a list format?

I'm going to bring up the music on my Android phone in a list format. How can I retrieve the music title, album, and singer information on the device and present it in a list format?

2 years ago

1 answers
95 views
0
Java pass by reference

What is the difference between the two codes below?Code A:Foo myFoo;myFoo = createFoo();CreateFoo method public Foo createFoo(){ Foo foo = new Foo(); return foo;}Code B:Foo myFoo;createFoo(myFoo);publ...


1 answers
29 views
0
Return Type in Java

The return type of the function findViewById(); is a View Class, but why should the person receiving this return value be a View or a Data Type that inherits View such as textView? Aren't you going to...

2 years ago

2 answers
73 views
0
A simple algorithmic question! (Check if it is the same character pair)

Hello! It's a simple question. Hmm... I don't know what to do with the algorithmI'm trying to get two strings from the user and check if they're the sameFor example, even if the string is flipped, the...


1 answers
99 views
0
[Java] Let me ask you about grammar

private static Logger logger = Logger.getLogger(CopyUtil.class);I saw the chords like this I'm inquiring because there's something I don't understand grammatically.CopyUtil.class. Like this. xxx.I won...

2 years ago

1 answers
68 views
0
Spring @PathVariable and @RequestMapping.

Hello, seniors...I use Spring, and I have a question about PathVariable and RequestMapping.@RequestMapping(value=/web/service/{serviceName})public ModelAndView webService( @PathVariable(serviceName) ...

2 years ago

2 answers
27 views
0
This is a dialog question when playing Android YouTube.

Private YouTubePlayer.PlaybackEventListener = new YouTubePlayer.PlaybackEventListener() { @Override public void onPlaying() { ConnectivityManager cm = (ConnectivityManager) getSystemService(CONNECT...

2 years ago

1 answers
57 views
0
Hello! In a day, I asked a question...I have a question about json paser

10-1809:01:31.218 15389-15897/com.oh_biz.oh_works W/System.err: at com.oh_biz.oh_works.View.Tab1$AsyncHttpask.parseResult(Tab1.java:215)10-18 09:01:31.218 15389-15897/com.oh_biz.oh_works W/System.err:...

2 years ago

1 answers
25 views
0
Model and View Object as String

Can't I convert the object set to Model & View to a string?

2 years ago

1 answers
27 views
0
How to use java Scanner

We are having a hard time using Java scanner.Other examples work fine when solving this problemAn error occurs when you enter Example 3. What is the cause of the error?Example 3 Error message when typ...

2 years ago
« - 80 - »

© 2024 OneMinuteCode. All rights reserved.