why when we add an array list and array adapter to a java class, we add them to the (on creat) method under the override class ..... why we dont add them in a normal class