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
60 views
0
I can't send and receive javatcp files well

on the transmission sidebis = new BufferedInputStreammade out ofdata = 4096while (len = bis.read(data)) != -1) dos.write(data, 0, len);I'm flying it like thisThe len value goes to 4096 consistently wh...

2 years ago

2 answers
60 views
0
Java Problems: Building a Number Pyramid

Hello, I'm asking you a question because I didn't like my code while doing my assignment.The questions you gave me are as follows.Develop a JAVA-program that does the following job: Your program shall...

2 years ago

2 answers
29 views
0
How do I find the minimum in a newly created array after putting two different arrays together?

I asked you a question yesterday, but something else...There are two different classes (ArrayUtils, ArrayUtilsTester). The first class is to write down the methods, and the second class is to print ou...

2 years ago

1 answers
81 views
0
I don't like the same number. It's an example question.

import java.util.*;public class Solution { public int[] solution(int []arr) { int[] ans = new int[100]; int cur=arr[0]; int j=0; for(int i=1;i<arr.length;i++){ if(cur!=arr[i]){ ans[j]=cur; ...

2 years ago

1 answers
85 views
0
I have a question about using Android asynctask.

I am making an example of importing mysqldb contents in a list format through Android and php communication.During the execution of the activity, the following Async Tasks are rotated to obtain data t...

2 years ago

2 answers
27 views
0
How to use Map and List in JAVA?

The progress you are currently learning does not use the database.I'd like to create a membership form by creating a form with a thin builder.It's a little hard to do without using the database.I hear...

2 years ago

1 answers
31 views
0
Where do you look for foreign materials if you need them due to the lack of domestic data during development?

As I develop it, I have to look for foreign data when I am very poor to find information on specific technologies in domestic data. I would like to ask you what foreign developer community sites devel...

2 years ago

1 answers
32 views
0
public static final and private getter

I have a question in JavaQuestion 1)In the case of 'public static final variable', do not create an object It's called Class Name.I learned to call it a variable. Create a private variable object Is t...

2 years ago

1 answers
100 views
0
Transfer value from native cpp to java when using JNI

Hello, I'm making an application using Android Studio.I want to implement the part that transfers the value between native-lib cpp and Java class using jniIs there a way to transfer the value obtained...

2 years ago

1 answers
122 views
0
I'm just a beginner learning how to make Android apps. I want to make an image bulletin board app.

My level right now is to watch the Android studio course I'm learning how to use various components and basic Java.The app and web that I want to create are Images in the shape of a checkerboard are l...

« - 83 - »

© 2024 OneMinuteCode. All rights reserved.