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
88 views
0
Java to read information from the Billboard chart website.

Like the title, it's a code that uses Java parsing to scratch information on the Billboard chart website.I'm not sure because I'm a beginner, but I think I use the URL class to create a url object and...

2 years ago

1 answers
87 views
0
Java, the write fileoutputstream println () and () as a result of different question.

Hello, I'm a student studying Java from the beginning.I'm just copying each and every one of them while reading a book, and I'm asking you a question because I have a question while studying Stream.im...

2 years ago

2 answers
95 views
0
Java super related questions

It's a question that suddenly came to mind while studying.It seems that when you receive a producer of the super class, you use the distinction as the producer's variablesex) If the producers of the p...

2 years ago

2 answers
91 views
0
Enter Java Decimal -> Output Hex

You need to use an array to print out a decimal number as a hexadecimal numberThere is an error when you input the value with scanner and print it out in the if statement.I'd appreciate it if you watc...

2 years ago

1 answers
27 views
0
What is the error caused by?

Syntax error on token ;, { expected after this token

2 years ago

1 answers
32 views
0
Android toolbar communication

It's not a code problem, but I have a question about the search button in the toolbar.This is my main xml code.<android.support.design.widget.AppBarLayout android:id=@+id/mainActivity_appBarLayout ...

2 years ago

1 answers
119 views
0
Is it possible to send the schedule from the web page to the Google Calendar on the mobile phone?

Hello, I am a web developer who develops web pages based on JSP and JAVA.I received the following request from the client company.1. Click the Reflect all employees' schedules button on the JSP web pa...

2 years ago

2 answers
110 views
0
java.lang.ArrayIndexOutOfBoundsException: 4

void playNote(int pitch, boolean state, int instrument) { //If current note has to be played and is not active. if (state == true && activeNote[pitch] == false) { //Send ON, channel, pitch and...

2 years ago

2 answers
122 views
0
Java.hashcode() I have a question!

I want to see the memory address where the actual data is stored in Java. Like you use & in C.I looked it up and found a .hashcode(). I have a question about hashcode.If there is such a code, publ...

2 years ago

1 answers
117 views
0
App runs only on emulator and force shutdown on actual device (Android studio, Java)

This time, I made an app using Android Studio, Java (minimum support version 4.4)But strangely enough, if you turn on the app emulator in the Android studio itself (pixel 2, version Pie), it runs well...

« - 87 - »

© 2024 OneMinuteCode. All rights reserved.