plzzz give answer in detail
Answers
public class Something;
{
public static void main (String []args)
{
System.out.println(" “Hello Friends! \n We are in class XI and now we \n begin learning programming.” ");
}
}
OrOr
public class Something;
{
public static void main (String []args)
{
System.out.println(" “Hello Friends! \n We are in class XI and now we \n begin learning programming” ");
System.out.println("“Hello Friends!");
System.out.println("We are in class XI and now we ");
System. out. println("begin learning programming.” );
}
}
✎Details about program:
Language used: Java
No packages are included
✎About program's Important components:
1.\n(only used in 1 program)
it is used to give one line space between characters in single print statement
2. "System .out.ptintln()"
it's function is to print statements on terminal window after whole program is executed.
_______________________________
with regards!