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
133 views
0
When jsp displays the values obtained from ArrayList on the screen, unnecessary square brackets ("[", "]") are printed.Could you tell me how to erase it?

As stated in the title, I would like to remove the brackets that are unnecessarily attached to the values obtained from ArrayList on jsp.images:[123abc] →123abcThe following coding has been validated ...

2 years ago

3 answers
29 views
0
int can be processed faster than short or byte

When I was looking at the Java introduction, I found the following statement: Computers these days have a lot of memory, so it's rare that these four models need to be used strictly.Also, int can be p...

2 years ago

1 answers
92 views
0
I want Java to process the input on the command prompt.

I'm a beginner who is learning on his own.Currently, I am having trouble typing keys in Java.If you press 1 and press Enter, java.lang.ArrayIndexOutOfBoundsException appears.I'm trying to figure out i...

2 years ago

1 answers
52 views
0
Development of REST's web service that connects XML databases (JAVA)

Please lend me your wisdom!I tried to do it on my own for about a week while looking at books and the Internet, but it was perfect, so let me ask you a question here.It's my first time doing programmi...

2 years ago

5 answers
25 views
0
I want Java to print the elements of the array in reverse order.

I am a beginner in Java.I'm working on Java sequencing for my school assignment.For the time being, I was able to enter the input value with the keyboard in the array.It seems different from the image...

2 years ago

1 answers
65 views
0
ListView to Fragment or ListView to new Activity?

Now I'm creating an app for music scores, and first, the list of songs is ListView and appears as TextView.I am still a beginner in programming and Android Studio, but I would like to see the score of...


2 answers
30 views
0
variable imight not have been initialized

variable immediate not have been initialized Why?I'm thinking of making five random numbers, but it doesn't work very well.Please let me know.public class Main{ static void getrandom5(){ System.out.p...

2 years ago

1 answers
77 views
0
Understanding SpringMVC Classpath on Eclipse

Thank you for your help.Currently developing the SpringMMVC web application on Eclipse 4.6, I specified the application.propatiys bean on the servlet-context.xml file to specify the property file, but...

2 years ago

1 answers
38 views
0
In the alert dialog, simple_list_item_2 displays the information obtained in realm.

I'd like to see a list view with simple_list_item_2 in the alert dialog like the title, but I get an error message when I set the list view in the builder instance and run it.Why?java.lang.IllegalStat...

2 years ago

1 answers
25 views
0
About Java Scanner

IPHONE 7, 4.7, A10, GSM, JET BLACK, 32GB, TRUE, 700IPAD AIR 2, 9.7, A8, TRUE, SILVER, 64GB, 400I would like to read the above sentences one letter at a time using Scanner.delimiter(,), but at the end ...

2 years ago
« - 55 - »

© 2024 OneMinuteCode. All rights reserved.