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
49 views
0
How do I use a database that exists in Android applications?

I've already created a database with SQLite. I want to use this database file in my Android project. How can I access an existing database instead of creating a new one?

2 years ago

1 answers
90 views
0
Why do you define a constructor with parameters and the default constructor without parameters disappears?

If you create a constructor with parameters in C#, C++, and Java, the default constructor without parameters disappears.Before, I thought it was just like that, but I suddenly became curious about why...


1 answers
47 views
0
JAVA string arrangement again."T"

package com.javalec.ex;import java.io.StreamCorruptedException;import java.util.Scanner;import java.util.Stack;public class ArrayEx { public static void main(String[] args) { String[] name = {Yoona, T...

2 years ago

1 answers
134 views
0
I'm not sure how to put the value in Java HashMap with a repeat statement.

I learned about Java this time.I was studying hashmap, but I wondered if I could put the key value as a repeating sentence.public static void main(String[] args){ HashMap<string, Integer> map1 =...

2 years ago

1 answers
81 views
0
I am inquiring about how to solve the job execution delay in the java quartz library.

There is a delay in the execution of the schedule on a weekly basis for the schedule registered using the Java quartz library. There is no noticeable error message, you can see the delay in the log fo...

2 years ago

1 answers
106 views
0
What code should I use to run Jar files in Java?

What code should I use to run Jar files in Java?

2 years ago

1 answers
95 views
0
Which do you like better, "implementations Runable" or "extends Thread"?

I was looking at how to create threads in Java, and there were two ways: Runnable and Thread! public class ThreadA implements Runnable { public void run() { //Code } } //Started with a new Thread(t...

2 years ago

1 answers
21 views
0
What functions do the substitution operators for objects do?

Let me get straight to the point.For example, class alpha{ //omitted below . . . }There's a code like this. public void main (String[] args) { alpha temp1 = new alpha; alpa temp2 = temp2;}If there ...

2 years ago

2 answers
24 views
0
I have a question about how to change the color of the tab view.

Hello, I'm a beginner who is developing an app with Android Studio.Similar to the picture, we implemented a tab bar with letters under the icon & Like the picture above, I want to change the color...

2 years ago

3 answers
68 views
0
I wonder about Java return.

public class SimpleDotComTestDrive { public static void main(String[] args) { SimpleDotCom dot = new SimpleDotCom(); int[] locations = {2,3,4}; dot.setLocationCells(locations); String userGuess = ...

2 years ago
« - 122 - »

© 2024 OneMinuteCode. All rights reserved.