Hello everybody. I am a beginner at Java programming and I am trying to learn things in deep details. I can see that this forum is very helpful. At first, I had some problems to post, but after I read some rules my mind changed and I didn't just post them, in fact I solved them by using the advises given in some of the articles. But I have two questions, that I can't really find its answers. (My teachers say that they will explain them in next semester. Frankly I don't know the reasons (perhaps they might think of us incapable of understanding everything at once)). I would be grateful if I could get some help with the following two questions:
1. When we start a program, the "class is copied into primary storage and becomes an executing object". I don't find this quite understanding, in fact it's quite complex in my mind, so can anybody help me to find/understand the precise explanation?
2. Is there a difference (perhaps in later use of the program) between writing this piece of code:
GregorianCalendar c = new GregorianCalendar();