Print string with double quotes in Java
Java Output - Question 4
In this question, we will see how to print a string with double quotes in java programming using the java output. To know more about java output click on the java output lesson.
Q4) Write a program in java to print the name Dremendo with double quotes on the screen.
Example : "Dremendo"
Program
public class Q4
{
public static void main(String args[])
{
System.out.println("\"Dremendo\"");
}
}
Output
"Dremendo"