public static void main(String[] args) { what is actually why we write code of person person = new person () how is different from public static class