Exception in thread “main” java.lang.NullPointerException
at challenges.inputs.main(inputs.java:12)
Error occurred on printing the array after initializing the array
share your code with me please
might be a problem with the scope of variable where its declared