Computer Science, asked by muhammadshafin004, 10 hours ago

Copy the program and identify the different types of tokens in the given program: public class Program void display { System.out.println("CARMEL HIGH SCHOOL"); } I Keywords: Identifiers : Write a program in Java to print, 'PERSEVERANCE' twice in two lines.​

Answers

Answered by Anonymous
1

Answer:

System.out.print("for" + "\n\n\n" + "example") should solve your problem. The first "\n" is for ending "for" and then two blank lines

or

System.out.println("for");

System.out.println();

System.out.println();

System.out.println("example");

hope it's helpful for you to learn

Answered by hjeet176kaur
1

Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. Wikipedia

Designed by: James Gosling

First appeared: May 23, 1995; 26 years ago

Paradigm: Multi-paradigm: generic, object-oriented (class-based), functional, imperative, reflective, concurrent

Stable release: Java SE 17 / 14 September 2021; 2 months ago

Latest release: Java SE 16 (16 March 2021)

Filename extensions: java,.class,.jar,.jmod

Similar questions