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
85 views
0
Does Eclipse now work without installing java and jdk?

As the title says, does Eclipse work without installing java and jdk?In the past, I thought it wouldn't work if I couldn't install jdk, but it worked properly after downloading Eclipse.In the past, if...

2 years ago

1 answers
44 views
0
Why doesn't the static variable value of the static class change?

When I created a static class with an internal class for the purpose of using a variable without creating an object and called a static variable, I first read the value of the edit text and sprayed it...

2 years ago

1 answers
118 views
0
Click on Android Studio Google Map Marker

I want to get the num value of the marker when I click on the marker in for and put it in putxtra, so please help me how to get the num value.


1 answers
22 views
0
This is a question about the arrangement of Java structures

public class JAVA2_12 { public static void main(String[] args){ Person person[] = new Person[4]; person[0] = (Hong Gil-dong, 2000, 4000);}class Person{ public String name; public int date; public int ...

2 years ago

1 answers
21 views
0
The remaining value should be 0.5

package chap01;public class Math {public static void main (String [] args) {int a,b,c,d,e,f;double g;a = 1000;b = 2000;c = a+b;d = a-b;e = a*b;f = a/b;g = a%b; System.out.println (Add = + c);System.o...

2 years ago

1 answers
26 views
0
Using java conditional statements

I want to create a salary calculation program that follows the following criteria.I made this code, but I don't know what's wrong with it.public class Salary { public static void main(String[] args) ...

2 years ago

1 answers
27 views
0
They're helping us

It's a question of getting 10 random integers and sorting them in ascending order, but I keep getting errors, so I have a headache...Help meimport java.util.Scanner;import java.util.Arrays;public clas...

2 years ago

1 answers
64 views
0
Run Linux Bluetooth Command Java

I scanned and paired Bluetooth with commands on Linux.I'm going to move the process to Java.Runtime running the Java Linux command was used, but it did not run.This is the Java code that I made.public...

2 years ago

1 answers
23 views
0
I'm asking you a question about the Java beginner's blank Why isn't there an answer?

public class Main{ public static void main(String[ ] args) throws Exception{ System.out.println( tri(1,3) ); } public static String tri(int x, int y){ return x*y/2; }}So, the output should be the cod...

2 years ago

1 answers
106 views
0
A simple Java conditional question.

import java.util.Scanner;public class test { public static void main(String[] arg) { Scanner scan = new Scanner(System.in); System.out.println (Enter an integer: ); int num = scan.nextInt(); if(n...

« - 148 - »

© 2024 OneMinuteCode. All rights reserved.