What output occurs due to execution of the following code snippet:

char[] hocus = {'a', 'b', 'r', 'a', 'c', 'a', 'd', 'a', 'b', 'r', 'a'} ;
System.out.println(hocus[hocus.length]);
an exception errors
  • r
  • null
  • 11
  • a
  • no output is produced
  • abracadabra

There are not hints for this question