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
48 views
0
Query Oracle SQL for rent on date

Hello, I'm a beginner developer.I want to think of it like this. I don't know how to calculate it, so I'm asking you this question.

2 years ago

1 answers
27 views
0
Java, importing strings from another class

You want to create and manage a class that declares a character variable and a class that you output.By the way, variables are imported well, but if you only try to import strings, it's a problem.I'm ...

2 years ago

1 answers
77 views
0
String truncation using Java substring is not working properly

package assignment2;import java.util.Scanner;import java.util.Arrays;public class assign3 { public static void main(String[] args) { int n; int m; Scanner scan = new Scanner(System.in); System.out...

2 years ago

1 answers
94 views
0
This is an Android Studio Java code question.

Hello, I'm a beginner who just started studying development.I'm making a random drawing app for practice, and I'm practicing applying the code I studied in Java for the first time. But I'm confused be...


1 answers
40 views
0
Verify Android Current IP Address

Using the socket class, I want to check the ip address that is currently connected regardless of Wi-Fi or LTE. try { Socket mysocket = new Socket(www.google.com, 80); String Addr = mysocket.getL...

2 years ago

2 answers
119 views
0
This is a question related to the production of the Android app.

Hello, brothers. Even if I make an app and release it, you can see itThe purple frame (?) that displays the name of the app file is continuously visible, so the completeness of the app is reduced due ...


1 answers
94 views
0
Java Execution Error

I am a student studying Java.Create a source code and post it to the intellectual because there was a problem during execution.The first is the picture when the source file was executed through the ja...

2 years ago

1 answers
118 views
0
Please look after the web crawling error.

Hello, I am a student who studies Java and crawl.I'm going to crawl the playlist of youtube.com and present it as a recycler view in the app.I coded it as below, but nothing was made at the Recycler V...


1 answers
45 views
0
Database question!

Hello, I am a student who is studying at the academy.I'm working on a project, but I'm in trouble because the database connection is slow.I'm asking because I'm curious if it's because the grammar is ...

2 years ago

1 answers
106 views
0
Java arraylist, inheritance, abstract class questions

Hello, I am an undergraduate studying coding.In the management class, ArrayList<Member> members = newArrayList<Member>();members.add (new member 1 (Hong Gil-dong, string, string, int);memb...

« - 140 - »

© 2024 OneMinuteCode. All rights reserved.