How can I print the second element from the below Object[] args? Is there a way to get it using Arrays.toString(args). I want to get only the 2nd element sayHello
[com.example:type=Hello, sayHello, [Ljava.lang.Object;@1503f191, [Ljava.lang.String;@6229b4c0]

System.out.println(args[1].toString());or something like that.