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
27 views
0
Java question! (How to read m 읽는)

in the propertiesIt says m= 제곱 square meters.It's marked with key=value If the text file has m 이,I need to change it to square metersOnly m 만 doesn't change..It changes to meter 라고.Is there a ...

2 years ago

1 answers
141 views
0
Accessing public static variables inside a class declared private

private class Example { public static final PI = 3.14; ...}If there is a code configuration like above, is PI accessible from the outside?Classers restrict access from the outside to private, but PI a...

2 years ago

1 answers
81 views
0
A simple Java Array question!

Why isn't the code below executed?There is no value assigned to the original i, so it says that it cannot be executed even after the new assignment.public class Main {public static void main(String[] ...

2 years ago

2 answers
110 views
0
How to host the web

I just made the Java homepage using bootstrap, mysql, tomcat apache, etc. But I don't know how to post the homepage that I made online. Is there a way to upload the server online without spending mone...


1 answers
88 views
0
I want to transfer data between two activities using Android int.

I'm using the Intent function to make a simple product calculator applicationThis calculator uses a total of two activitiesIn Activity 1, enter the quantity of two items with buttons (four buttons fro...

2 years ago

1 answers
79 views
0
Java enum utilization and regular expression questions.

within the enum classWhen input char comes in, use the regular expressionReturns the appropriate enum value The task of implementing a function.There are only examples of string types.It was weird, so...

2 years ago

1 answers
35 views
0
How to put the background in a shooting game

DrawShot or drawPlayer or drawEnemy functions are drawn using fillOval and fillPolygon.If you run it, the game runs on a black screen, and I want to create a background class and use an external image...

2 years ago

1 answers
27 views
0
I'm really a beginner Please tell us about the source code problem

What I originally planned was to be like a very, very basic calculatorIt is possible to calculate various formulas, but there is no program error. If you enter the formula, the result will not come ou...

2 years ago

1 answers
39 views
0
Loop Moon Error Problem During Android Java Development

private void playCode(String code) { String tmp; while(code != ) { If(code.indexOf(f) == 2) { //Read Code tmp = code.substring(0, 3); code = code.substring(3); } } else { tmp = code.substr...

2 years ago

1 answers
49 views
0
How do we make the hash value of SHA256 through CryptoJS equal to the hash value of SHA256 using Java Message Digest?

var result = ;var reader = new FileReader();reader.onload = function(event) { result = CryptoJS.SHA256(event.target.result).toString();};reader.readAsBinaryString(tempFile);The hash value of a file in...

« - 86 - »

© 2024 OneMinuteCode. All rights reserved.