java code

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. It was 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 September 2022, Java 19 is the latest version, while Java 17, 11 and 8 are the current long-term support (LTS) versions.

You do not have permission to view the full content of this post. Log in or register now.
  1. P

    Java Code for Couples

    mga lods patulong naman po. Pagawa naman po ng code for couples tulad ng nasa tiktok na pag open sa app ay may lalabas na "do you love me?". Monthsary kasi namin gusto ko ilagay sa laptop nya yung app. Sana matulongan nyo po ako.
  2. F

    Java Pahelp po code explanation

    Meron bang marunong magexplain ng Java code dito, kung pwede lang po? Nagstrustruggle po akong idescribe yung process ng code na inayos ko. Ito po yung link. Thank you po sa help. FILE slippers_inventory – Google Drive
  3. F

    Pahelp po sa java? Ano po method ang gagamitin sa Linkedlist

    Sa mga Javalords po jan, Pahelp po! Ano pong methods ang gagamitin po sa add, delete, print po sa linkedlist Yung nakacomment po sa code sa ibaba... public class MyLinkedList{ private MyNode head; private int listLength; public MyLinkedList(){ head = new...
  4. O

    Closed Lexical analysis

    Hello mga ka PH :) sa mga BSCS or basta batak sa Java programming sana matulungan nyo ako d2. :) Create a program that could perform a simple Lexical Analysis for Java variable declaration. Example Input/Output: Input: int x = 1; Output: <data_type><id><assign_op><value><delimiter> Input...
  5. E

    Closed Help src code

    Mga masters baka naman po mayron kayo src code pano makuha ang total age pag inimput ang month, year at day ng birth day mo. Using JCreator. TIA:)
  6. H

    Closed " "

    .
  7. A

    Closed Angel of mercy

    Mahigit 1 month na rin pala ako. Wala lang. Tambay sa programming section. More on android programming gamit ang eclipse, android studio o kaya phonegap.
  8. B

    Closed Quadratic equation

    // quadratic equation ax^2 + bx + c = 0 import java.util.*; public class QuadraticEquation { // atributes are static so we can access them without creating object of QuadraticEquation class // atributes are double so that we ensure precision private static double a, b, c...
  9. B

    Closed Generate a pyramid

    public class Pyramid { /* Generate a Pyramid using * symbols */ public static void main(String[] args) { int n = 8; // number of rows int indent = 3; for (int i = 1; i <= n; i++) { for (int j = 0; j < ((n + indent) - i); j++)...
  10. B

    Closed Array explanation

    public class Program { public static void main(String[] args) { String A,B,C,D; A = "1"; B = "2"; C = "3"; D = "4"; String[ ] myNames = { A, B, C, D}; System.out.println(myNames[2]); } }
  11. B

    Closed To find square root of the number

    import java.util.Scanner; public class Program { public static void main(String[] args) { double number; Scanner input = new Scanner(System.in); System.out.println("Enter a number to find its square root: "); number = input.nextDouble()...
  12. B

    Closed Calculate pi

    /* This program calculates pi to 6 decimal places which it was limited to due to exceeding the time limit. it uses the earliest known method for finding pi developed by Madhava of Sangamagrama during the 14th and 15th century */ public class Pi { public static double pi = 4.0; public...
  13. A

    Closed Help!!! Need Help!

    import java.io.*; import java.util.*; import java.text.*; class qwer { public static void main (String [] args)throws Exception { String var1="\t Client NO: ",var2="\t Client Name: ",var3="\t Loan Amount: ",var4="\t Interest: ",var5="\t Total Loan Amount...
  14. C

    Java java code

    mga sir tanong ko po yung code nito eto po yung output nalalabas po "value of 1 total is 0" papano po ba gamit po yung loop at if else po sir yignan ko nga po yung code sir please po sir
Top