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
341 views
0
I want to improve the execution time of the program that requires a solution that meets the requirements

I would like to create a program that uses x,y,n as a positive integer to find the smallest number of n solutions that satisfy 1/x+1/y=1/n and x<=y, but even if I write the following program in pai...

1 years ago

1 answers
318 views
0
The Java writer question.

/* * Iterator Example * Example of deleting data called days, months, and days in a list * There are hasnext, next, and remove in the literator. There's a method that does those functions. */pac...

1 years ago

1 answers
376 views
0
I have a question about Java code.

import java.util.Arrays;public class hellojava { public static void main(String[] args) { int[] arr1 = new int[7]; int sum=0,sum1=0, sum2 = 0; int a, b, c, d, e, f, g; int i,j; int count = 0; for (a...

1 years ago

1 answers
372 views
0
Let me ask you a basic question about servlet response.(T)

String data = <html>; data += <body>; data += ID: + id; data += <br>; data += Password: + pw; data += </body>; data += </html>; out.print(data);I don't understand ...

1 years ago

1 answers
413 views
0
How do I find out about BOM support in Java Gradle?

I refer to the following article.https://blogs.lisb.direct/entry/2019-07-01-083000 Gradle has a mechanism called BOM.For example, if you write the following in dependencies, [2]There is no version spe...

1 years ago

1 answers
368 views
0
Is the InteliJ Remote Debug Port Safe to Leave Open?

InteliJ remote debugging uses the 5005 port by default.Run Jar with a remotely debugable command and access this port from IntelliJ to debug breakpoints and other things.Is it safe to always open this...

1 years ago

1 answers
351 views
0
Print all 8 patterns using the if statement

It's java. Use the if statement XOXOXO---XOXOXOX--XOXOXO-X-XOXOXO--XXOXOXOOX-XOXOXO-XOXOXOXOOXXXOXOXOXXOI want to print all eight of these, but if I enter all nine spaces with - that is, -----, how do...

1 years ago

1 answers
381 views
0
How to Create a Dependent Jar File from settings.gradle

When I asked Stack Overflow in English, I couldn't get an answer, so I'll ask you a question.The current Gradle not only creates build.gradle but also sets.gradle, and the dependencies are written the...

1 years ago

1 answers
431 views
0
What to do when the tabulation method in the table and the tabulation method displayed on the screen are different in Java?

Hello.I'm designing a Java interface for my business.I have a question because I don't know what to do.We are designing an interface that takes records from the table, edits the output, and returns th...

1 years ago

1 answers
270 views
0
I want Python to search for multiple java files in the target directory and get the defined class name

I would like to explore several java files in the target directory and earn the defined class name.For example, if you have target_dir/Car.java Train.java, I would like to receive the class names Car ...

1 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.