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
142 views
0
Removing a space from a string

mysz=name=johnage=13year=2001;I looked for a string of this type because I wanted to erase the space, and there is a method called trim() that removes only the front and back spaces of the string, so ...

2 years ago

1 answers
27 views
0
Overriding return type

Even if method override return type is specified as an inheritance relation object type, There is no error on the compilation, is it okay?

2 years ago

2 answers
23 views
0
Android R.java error..

Android R.java question.From RegisterActivity There's an error. The photo and the source code and source code. Please. package com.example.happy.myapplication;import android.support.v7.app.AppCompatAc...

2 years ago

1 answers
25 views
0
Save as Java Notepad File

It is saved as a notepad icon like the attached fileDoes not run in Eclipse I tried to drag it in and put it in the workstation.)I always move it to finish at home after doing it in the school lab, wh...

2 years ago

1 answers
75 views
0
To determine if a String string has spaces in Java

Please tell me how to check if there is a space in the string in Java. I'm getting a string, but if the user enters only spaces, I don't want to let them enter only spaces, but I think I can see that ...

2 years ago

1 answers
67 views
0
Is there a goto command in Java?

Is there a goto command in Java? Most people say that Java doesn't have a goto statement.But I found goto in Java's keyword. What is it used for? If it cannot be used, why is it defined in the Java ke...

2 years ago

1 answers
113 views
0
Do I need to put @Override when implementing the method of the interface?

Do I need to put @Override when implementing the method of the interface? Read about @Override in the Java document.@Override indicates that when defining a method, it overrides a higher-class method....


1 answers
65 views
0
Look at the Java Lotto generator sauce!

package lotto;import java.util.Random;public class Lotto { /** * * @param args */ public static void main(String[] args) { // // TODO Auto-generated method stub //Get a lotto array. Lotto lotto =...

2 years ago

1 answers
45 views
0
Upload files to cloud server using node.js with Java

I think I wrote it all down in the title, but I'm currently making an application using javafx as a personal project.I use Google Cloud Platform to study personally.Here, we program with node.js.How d...


1 answers
101 views
0
How to import classes with the same name in Java and how to rename the import

At Python,from a import b as cIt's like this when two imported cars collide. How do you do it in Java?

2 years ago
« - 110 - »

© 2024 OneMinuteCode. All rights reserved.