It being a while since i update the blog 😏
This week Dr Erzam was teaching us on new topic which called "Array" so if you guys want to know an interesting story PLEASE read this blog until the end HEHEHE 😆.
Next, for this class Dr Erzam was teaching a new topic which was called Array. In my understanding Array is a group of like-typed variables that are referred to by a common name and according to Dr Erzam there were 4 steps in doing Array.
The first step was declare an Array :
int t [] numbers;
Second step was create an Array :
numbers=new int [3];
Third step was access an Array :
number[2]=88;
Last step was Print specific Array :
for(int=0; i<3; i++)
System.out.println(number[i]);
Other than int, we also can declare an Array with other type of data also for example like double, and String. Dr Erzam also tell us that Array and loop was interrelated with each other because we use an array definitely we will use loop also. After teaching us this 4 steps Dr Erzam continue his lecture by giving us an example and some exercises so we can understand better on Array and he also teach us a simplest form to write an Array, so with this way we can save a time to write an Array program. HEHEHE thank you Dr 😊.
For the lab session, on the Thursday Dr have upload Lab 9 exercises and in this lab session i was busy with Mid-term test for another subject 😆HIHIHI (so sorry Dr) But after finish the test i will answer all the question.
SO this just it for WEEK 12 REFLECTION !!!
See you on next blog 😁😁😁😁
SAIFUL IKHWAN BIN AZIZ
183802
No comments:
Post a Comment