How to print specyfic String without using double quotes nor single quotes?

java

Solution

Make an enum

public enum myEnum{
   dummy123
}

Then use the .toString

public static void main(String [] args){
    String x = Test.dummy123.toString();
    System.out.println(x);
}

Output: dummy123

Problem

My task is to display specified text e.g. "dummy123". But the problem is that I can't use neither " nor ' and even no integers to do something like that. As I know in Java is no preprocessor like ``` #define W(x) #x; ``` How to have code like that without quotes: ``` public class A { public static void main(String[] args) { System.out.println("dummy123"); } } ```

Original source