50 likes | 214 Views
Java Programing. TA: Chang, Yu-Hao Date:2013/04/25. Introduction to the Bubble Sorting.
E N D
Java Programing TA: Chang, Yu-Hao Date:2013/04/25
Introduction to the Bubble Sorting • Bubble sort, sometimes incorrectly referred to as sinking sort, is a simple sorting algorithm that works by repeatedly stepping through the list to be sorted, comparing each pair of adjacent items and swapping them.
Static vs. Non_Static • There are four different type of Data Membership in Java: • Static-The variable whose called Static, is generating in the memory when program is beginning . • Class Field • Class Method • Non_Static-The variable whose call Non_Static,isgenerating in the memory when we using the key word "New". • Instance Field • Instance Method