.What is the main difference between a static variable and an instance variable?2.What is the difference between overriding and overloading a method? Give a Java example of overriding. 3.Write a single Java statement to declare and create an array of 5 integers without specifying values for those integers.4.Write a single Java statement to declare and create an array containing the following 3 Strings: “Ay”, “Bee” and “See”.5.Write a single Java statement to change the contents of the array you wrote in the last question. When your statement has executed, the final string in the array should be “Zee” instead of “See”. 6.Write a single Java statement to print the length of an array named a.7.Write a single Java statement to print the 3rd character of an array named a