摘要:
I was busy with dealing with something else the other day, but I will continue in this blog from now on :) This time I will talk about another techniq 阅读全文
摘要:
Linked List is composed of a series of nodes. The list is terminated when a node's link is null. The last node in this linked list is called the 'tail 阅读全文
摘要:
An individual node contains two type of things: data it stores and links to other nodes. The link or links within the nodes are sometimes referred as 阅读全文
摘要:
Primitive Types vs Reference Types: the former stands for value, the latter stores the address e.g. int x = 10; In the diagram it looks like: x |__10 阅读全文
摘要:
In the last session, we discovered a kind of data structure whose name is IntList. Below is its code: public class IntList{ public int first; pubic In 阅读全文
摘要:
I am going to create an array which is similar to the list in python by using Java. It turns out that a very basic list is trivial to implement, as sh 阅读全文
摘要:
In python,we have something like the list, say L[1,2,3]. We can also add the last digit to the list by doing so:L.append(i) However, in JAVA, we do no 阅读全文
摘要:
Client Programs and Main Methods. A Java program without a main method cannot be run directly using the java command. However, its methods can still b 阅读全文