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
96 views
0
I have a question about the Java public method

class Deck {final int CARD_NUM = 52; // Number of cardsCardcardArr[] = newCard[CARD_NUM]; // Include an array of Card objectsDeck () { // Initialize Deck's card. int i=0; for(int k=Card.KIND_MAX; k &g...

2 years ago

1 answers
45 views
0
Questions about Android Studio App Development

There are already many in the market, but I'm going to make a wise saying app as a portfolio and practice.The method I thought of before starting the project was Write json data with HTml file and upl...


1 answers
24 views
0
I'd like to know how to use too much data with a disk to load into Java memory.

I'd like to know how to use too much data with a disk to load into Java memory.

2 years ago

1 answers
71 views
0
[JAVA] Let me ask you a question about using nested class object declarations in static member methods.

Let me ask you a question about the use of nested classes in the static member method of the class.!public class A { public static void methodA() { BB = new B(); // Error } class B { // // empty }}L...

2 years ago

2 answers
43 views
0
How can I keep the server on?

I have to keep the program running on my computer to make the server work, right?If I turn off the computer, can't I use that server?Because of the assignment, I have to keep the server on for about a...

2 years ago

1 answers
20 views
0
Java buffer class producer consumer example question

class buffer{ private int data;//cake private boolean empty=true;//show cake is empty Public synchronized get()//How to buy a cake { while(empty) { try { wait(); } } catch (InterruptedException ...

2 years ago

1 answers
63 views
0
[java, spring]Question about setting up an intelligence.

Recently, I started studying spring, so I'm not used to Intellie J.Until yesterday, the spring project worked properly, but when I imported the new project yesterday and used it and accessed the sprin...


1 answers
82 views
0
You need to log in when crawling with Java programs

Because it is a program, basic information is different when accessing it, and various information is needed for connection.Can I know the specific way to log in with the Java program?I'm trying to lo...

2 years ago

1 answers
23 views
0
I don't understand the Java memory structure Who wants to tell me?

I made a static method outside the main method And I made a static variable in the method, but there was an error... From what I learned, static is stored in the data area before the program is execut...

2 years ago

1 answers
60 views
0
JavaScript Parameter Question (Chorin...)

1. function nightDayHandler(self){ let selectorBody=document.querySelector('body'); let selectorAll_A=document.querySelectorAll('a'); function setColor(color){ let i=0; while(i<selectorAll_A....

2 years ago
« - 143 - »

© 2024 OneMinuteCode. All rights reserved.