Array of objects

when i run the array demo class it is not creating object reference and it shows me * non-static variable this cannot be referenced from a static context