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
70 views
0
How do I parse JSON data in Java?

For the following JSON text, I would like to parse data for pageName, pagePic, post_id.What should I do?{ pageInfo: { pageName: abc, pagePic: http://example.com/content.jpg } posts: [ { post_id: ...

2 years ago

1 answers
20 views
0
How to make your device vibrate on Android

How do I make my Android device vibrate?


1 answers
88 views
0
Java Class Object List (ArrayList)

I'm trying to create a banking system.Using ArrayList and class systems, he made it possible for several people to open their accountsThe error keeps coming up at the part where I check the card numbe...


1 answers
101 views
0
When I didn't have any access restrictors for the methods in Java,

In Java, when the access restrictor for the method is not placed in any of the following ways, the access restrictorIs it public, protected, or private void doThis(){ System.out.println(Hello Stackov...

2 years ago

1 answers
116 views
0
JavaReferences and strings

The reference variable that stores the class's address value is System.out.print(), which shows the address value at the time of output.The reference variable referring to the string class is System.o...


2 answers
25 views
0
JAVA) What kind of function does a simple addition also have to go through in Kernel???

I heard that the operating system manages the entire computer.So, when I build an Android app, what function of the Linux kernel does the simple addition function have to go through?

2 years ago


1 answers
93 views
0
To output db data over a Java general array

I want to print it out through a normal array, not an array list.I just don't know how.Please give me a hint.ㅜ

2 years ago

2 answers
28 views
0
Is the method of putting the ArrayList in the ArrayList very bad for the performance?

ArrayList<T> list1;ArrayList<T> list2;ArrayList<T> list3;ArrayList<T> list4;This and ArrayList<ArrayList<T>> list; I think this could play the same role (although I...

2 years ago

1 answers
77 views
0
Is List a subclass of List? Why is Java generic implicitly not guaranteed polymorphism?

It's confusing how Java Generics deals with inheritance and polymorphism.Let's say there's a hierarchy like this.Animal (Parent)Dog - Cat (child) Assuming that there is a DoSomething(List<Animal>...

« - 120 - »

© 2024 OneMinuteCode. All rights reserved.