"\n" operator in Java || Next line operator || Basic Programming || Java Programming
In this program, we are going to learn how to go at new line using '\n' in Java Programming Language.


// Program to use \n

class Class {

    public static void main(String[] args) {
        System.out.print("Hello Everyone,\nWelcome to HFC");
    }
}

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post