Welcome to Java!

Sort by

recency

|

590 Discussions

|

  • + 0 comments

    I am a noob can anyone help me?

  • + 0 comments

    can console allow java?

  • + 0 comments

    public static void main(String[] args) {

        System.out.println("Hello, World.");
        System.out.print("Hello, Java.");
    
    }
    
  • + 0 comments

    /** Print both the Hello, World and Hello, Java using a single statement by using \n (new line operator, which prints the next sentence in a new line) */

    import java.io.; import java.util.;

    public class Solution {

    public static void main(String[] args) {
        System.out.println("Hello, World.\nHello, Java.");
    }
    

    }

  • + 0 comments

    For Java15 Platform

    I wrote the code from scratch just to get more practice

    class Solution
    {
        public static void main(String args[])
        {
            System.out.println("Hello, World.");
            System.out.println("Hello, Java.");
        }
    }