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
40 views
0
How to work with mysqldb on bootstrap

Download the bootstrap theme Can I link mysqldb contents with the web after some modifications?I'm making the web, but I just downloaded the bootstrap theme and I'm making it.

2 years ago

1 answers
98 views
0
It's the calculation code for the four-day operation using Java generic stack, but the nullPointerException error keeps popping up

It's a code that uses generic stacksI keep getting a nullpointerception error like that.Below is the full code. } import java.util.*;class GStack<T> {static int top;Object [] stck;public GStack(...

2 years ago

1 answers
116 views
0
What exactly does the webbook mean?

Even if I googled, I couldn't make it clear. What exactly are you talking about?Can you do it with Java?

2 years ago

2 answers
25 views
0
Do I need a static method in an environment where there is only one instance of the class?

Assuming that the class I created is single-toned and only one instance exists as a single thread, and there is no initialization work without considering synchronization issues, I'm not sure if I sho...

2 years ago

1 answers
69 views
0
Is there a way to check multiple domains for Whois Open Api parsing?

I'm going to parse whois open apiI understand that you can obtain one domain information by inquiring whois open apiHow can I save multiple urls in a txt file to obtain multiple (100+) domain informat...

2 years ago

1 answers
67 views
0
Android studio tap host question

I want to enter an icon in the tab host, but I can't do it I'm uploading the code![][![1]

2 years ago

2 answers
113 views
0
Code Executioner Java

I'd like to use Java on my iPad on my code executorPython is designated by default, and other languages are not applicableTWhat should I do? Is it not possible with an iPad?

2 years ago

1 answers
103 views
0
Role of toString() in Java

/* * A program to erase the - in the middle of the following resident registration number and fill in the blank to print it out * Let's write it down. However, frequent string generation occurs by uti...

2 years ago

1 answers
25 views
0
What is the reason for creating an interface in Java inheritance?

It's been a month and a half since I learned Java. What is the reason for creating an interface in Java inheritance?

2 years ago

1 answers
107 views
0
JAVA beginner's sloppy code string conversion question

import java.util.Arrays;import java.io.BufferedReader;import java.io.FileReader;import java.io.PrintWriter;import java.io.IOException;public class traineroutput { public static void main(String args[]...

2 years ago
« - 84 - »

© 2024 OneMinuteCode. All rights reserved.