forName method

Report a typo

What value should the variable s have for the code below to print true?

public class Main { 
    public static void main(String[] args) throws Exception {
        Class clazz = double[][][][].class; 
        String s = "value to guess"; 
        Class forName = Class.forName(s); 
        System.out.println(clazz.equals(forName)); 
    }
}
Enter a short text
___

Create a free account to access the full topic