Write a program to print I feel \awesome\ in java programming
Answers
Answered by
7
public class Mood
{
public static void main ();
{
string = I feel \awesome\ ;
System.out.println("I feel\
awesome\ ")
}
}
{
public static void main ();
{
string = I feel \awesome\ ;
System.out.println("I feel\
awesome\ ")
}
}
horsie:
sorry ask the question again
Answered by
1
Answer:
Following Java program will print the given statement:
public class example{
public static void main(Stirng args[])
{
System.out.println("I feel \\awesome\\ ");
}
}
Explanation:
- First we create a public class named example.
- Then we write our main method in it that shows the beginning of the execution
- In the main function, we have used the println method to print the given string "I feel \\awesome\\"
#SPJ3
Similar questions