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
30 views
0
[java] The object array concept is confusing.

Which of the following statements about the code is incorrect?[ Book[] book = new Book[10]; ]A book is a reference to an array.Ten Book objects are created.Only when you create objects with for(inti=0...

2 years ago

1 answers
77 views
0
java array Can you check if a value exists in a specific index?

int[ ] [ ] array = new int[3][3];whenIf the value of array[1][2] exists, can we make it true if it does not exist?

2 years ago

1 answers
76 views
0
To save and retrieve values from a server in a list

I checked to get the value from the server, but the item I added from Asyncask is not caught in the search function.ㅠ onIf you add list.add(item) to Create, there will be no problem, but Asyncask does...

2 years ago

1 answers
89 views
0
I'd like to ask you in detail about . in Java.

I'm a student studying JavaUntil now, . When you perform a method with an object.method,This.I thought it was only used to classify variables with variables.Then object.variable=1;I Variable type Vari...

2 years ago

1 answers
73 views
0
I'd like to compare class fields in Java, but I have a question

public class Number { int[] array0 = new int[]{2,7,19,25,29,36,16}; int[] array1 = new int[]{2,10,12,31,33,42,32}; int[] array2 = new int[]{3,8,19,27,30,41,12}; int[] array3 = new int[]{2,6,7,12,19,45...

2 years ago

2 answers
24 views
0
There's nothing wrong with the Android studio, but it's down if you use your actual phone. Help me.

I think there's an error here.Help me. E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)This error also appears.Tab1Fragments.javapublic class Tab1Fragment extends Fragment { private static S...

2 years ago

1 answers
69 views
0
Declaration part when creating an object

I was studying Java thread and created an object. SoloThread s = new SoloThread(10);s.start();I abbreviated this partnew SoloThread(10).start();I've seen a case where I only use it.I've seen a few mor...

2 years ago

1 answers
56 views
0
I have a programming question.

Programming I have a question while writing DB and JavaI bring about 300 pieces of data that I need for DB.I want to make a table and show it to youI have to process it one more timeI have a concern.S...

2 years ago

2 answers
80 views
0
Create Java Class Object (Nobody)

I want to make data of several people into objects and store them in the similar way below, but I don't know how to do it.I was just trying to trick you. As expected, there's an error. Please let me k...

2 years ago

1 answers
26 views
0
Please solve the java code error.

interface A { void a();}public class B implements A{ public void a(){ System.out.println (Output); } public void b(){ System.out.println (Output); }}public class Hd{ public static void main(String [...

2 years ago
« - 90 - »

© 2024 OneMinuteCode. All rights reserved.