I am learning java. I wrote the following code but I am getting this error \"cant make a static reference to a non static input field\" in Arrayfunction(), when I try to take in
A non static reference is tied to the instances of the class. While all static code is tied to the class itself.
non static
instances
class
static
You must add the static keyword.
static keyword