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


2 answers
78 views
0
Can I write the return method independently in main?

When calling a method that returns a specific value or a specific object in the main function, Don't you usually substitute that method for a variable or object of that type?I wonder how you can use i...

2 years ago

1 answers
18 views
0
Hello, this is a question for Hello Java.crying

Hello, everyone It's ZarinI'm going to do Hello JavaCompilation error occurs.,I think I wrote it right, but it's weird

2 years ago

1 answers
131 views
0
Android Studio Error Execution failed for task ':app:pressDebugAsets'

I don't think it's a grammar error because the error keeps appearing every time I turn on the project. I don't know how to solve it even if I search on the InternetExecuting tasks: [:app:assembleDebug...


4 answers
54 views
0
How do I import only one element when the element I want to import from Html is duplicated?

I'm asking you a question because I can't solve it even if I google it and read the official document. The problem is as below. After parsing, I want to output only one link address corresponding to h...

2 years ago

1 answers
27 views
0
Java double for statement question.

import java.util.Scanner;import java.util.Arrays;public class test1 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int[] num; num = new int[7]; int[] num2 = new int[...

2 years ago

1 answers
24 views
0
Java introductory questions

I'm doing Java for the first time with a book called Everyone's Java, but I don't know what it is to do alone, so I'm askingThere are two questions

2 years ago

1 answers
22 views
0
[Beginner] Java Baekjun #3052, I wonder why it's not working.

Hello, I am Jarin, who has been studying Java for 3 days now. There are many answers when I google it, but I'm so curious why I can't solve it. This is question 3052 from Java When there are two natur...

2 years ago

1 answers
64 views
0
How do I send a string to a thread to create a chat program with Java socket programming?

import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.InputStreamReader;import java.io.OutputStreamWriter;import java.net.ServerSocket;import java.net.Socket;import java.util.Scan...

2 years ago

1 answers
28 views
0
Java list output question.

I want to put the array in the list and print out the list.If you run the code below, The error [Ljava.lang.String;@76ed5528] is displayed.When printing, the same result comes out even if you attach ...

2 years ago

1 answers
136 views
0
Error in Java, Array, Break statement

int s[] = {0,10,20,30,40,50,60,70,80,90,100}; int number, index = -1; int i; Scanner scan = new Scanner(System.in); System.out.println (Enter a value to explore).:); number = scan.nextInt(); fo...

2 years ago
« - 147 - »

© 2024 OneMinuteCode. All rights reserved.