Kamis, 22 September 2016
Do-While loop in Java
Setelah kita mempelajari for loop di Java kali ini kita akan mempelajari do-while loop di Java untuk syntax do-while loop seperti berikut
do{
statements(s)
}while (Boolean expression);
Oke mari kita mencoba menggunakan do while loop di java, saya akan mencetak angka 10 sampai 1. Dengan source code seperti dibawah :
Dan setelah di compile maka hasilnya akan seperti dibawah :
Oke sekian penjelasan soal do-while loop di java
100 JAVA code
Hai..
Pagi ini saya akan membagikan rencana apa saja yang akan saya perlajari di kelas PBO semester ini. Harapan saya, saya mampu untuk memahami semua apa yang sudah saya rencanakan.
NO | JUDUL | LINK |
1 | Hello World | http://www.koding.com/docs/hello-world/java |
2 | Membaca input dari file | http://contoh-program-java.blogspot.co.id/ |
3 | Program java penjualan if else | http://zenhuzaini.blogspot.co.id/2014/05/contoh-program-java-penjualan-if-else.html |
4 | Stack java | http://zenhuzaini.blogspot.co.id/2014/05/stack-queue-java.html |
5 | Queue java | http://zenhuzaini.blogspot.co.id/2014/05/stack-queue-java.html |
6 | Bubble Sort | http://www.programmingsimplified.com/java/source-code/java-program-to-bubble-sort |
7 | Mendapat nilai acak pada java | http://zenhuzaini.blogspot.co.id/2015/01/cara-mendapat-nilai-acak-pada-java.html |
8 | Binary Search | http://www.java-examples.com/performing-binary-search-java-int-array-example |
9 | Insertion Sort | http://wendigusfan.blogspot.co.id/2014/10/contoh-program-sorting-bubble-sort.html |
10 | Selection Sort | http://wendigusfan.blogspot.co.id/2014/10/contoh-program-sorting-bubble-sort.html |
11 | Get Size of Java HashSet | http://www.java-examples.com/get-size-java-hashset-example |
12 | Find absolute value of float, int, double and long | http://www.java-examples.com/find-absolute-value-float-int-double-and-long-using-math.abs |
13 | Looping with for | http://beginnersbook.com/2015/03/for-loop-in-java-with-example/ |
14 | convert decimal to binary | http://beginnersbook.com/2014/07/java-program-to-convert-decimal-to-binary/ |
15 | generate random number | http://beginnersbook.com/2014/04/java-program-to-generate-random-number-example/ |
16 | Find Square Root of BigInteger | http://www.java-examples.com/find-square-root-biginteger-example |
17 | perform binary search on a list of integer number | http://beginnersbook.com/2014/04/java-program-to-perform-binary-search/ |
18 | convert decimal to hexadecimal | http://beginnersbook.com/2014/07/java-program-to-convert-decimal-to-hexadecimal/ |
19 | Find natural logarithm value of a number | http://www.java-examples.com/find-natural-logarithm-value-number-using-math.log |
20 | display first n primary number | http://beginnersbook.com/2014/01/java-program-to-display-first-n-or-first-100-prime-numbers/ |
21 | display first 100 primary number | http://beginnersbook.com/2014/01/java-program-to-display-first-n-or-first-100-prime-numbers/ |
22 | check even or odd number | http://beginnersbook.com/2014/02/java-program-to-check-even-or-odd-number/ |
23 | Find ceiling value of a number | http://www.java-examples.com/find-ceiling-value-number-using-math.ceil |
24 | binary to decimal convertion | http://beginnersbook.com/2014/07/java-program-for-binary-to-decimal-conversion/ |
25 | Find exponential value of a number | http://www.java-examples.com/find-exponential-value-number-using-math.exp |
26 | check prime number | http://beginnersbook.com/2014/01/java-program-to-check-prime-number/ |
27 | Find floor value of a number | http://www.java-examples.com/find-floor-value-number-using-math.floor |
28 | Find maximum of two numbers | http://www.java-examples.com/find-maximum-two-numbers-using-math.max |
29 | Find power | http://www.java-examples.com/find-power-using-math.pow |
30 | Find minimum of two numbers | http://www.java-examples.com/find-minimum-two-numbers-using-math.min |
31 | Linear Search | http://www.programmingsimplified.com/java/source-code/java-program-for-linear-search |
32 | reverse a number using while loop | http://beginnersbook.com/2014/01/java-program-to-reverse-a-number/ |
33 | reverse a number using for loop | http://beginnersbook.com/2014/01/java-program-to-reverse-a-number/ |
34 | reverse a number using recursion | http://beginnersbook.com/2014/01/java-program-to-reverse-a-number/ |
35 | check palindrome string using recursion | http://beginnersbook.com/2014/01/java-program-to-check-palindrome-string-using-recursion/ |
36 | sum the elements of an array | http://beginnersbook.com/2014/01/java-program-to-sum-the-elements-of-an-array/ |
37 | find factorial of a given number using recursion | http://beginnersbook.com/2014/01/java-program-to-find-factorial-of-a-given-number-using-recursion/ |
38 | While loop | http://beginnersbook.com/2015/03/do-while-loop-in-java-with-example/ |
39 | check prime number | http://beginnersbook.com/2014/01/java-program-to-check-prime-number/ |
40 | calculate area of triangle | http://beginnersbook.com/2014/01/java-program-to-calculate-area-of-triangle/ |
41 | calculate area of square | http://beginnersbook.com/2014/01/java-program-to-calculate-area-of-square/ |
42 | calculate area of rectangle | http://beginnersbook.com/2014/01/java-program-to-calculate-area-of-rectangle/ |
43 | calculate area and circumference of circle | http://beginnersbook.com/2014/01/java-program-to-calculate-area-and-circumference-of-circle/ |
44 | multiply matrices | http://www.programmingsimplified.com/java/source-code/java-program-multiply-two-matrices |
45 | transpose matrix | http://www.programmingsimplified.com/java/source-code/java-program-transpose-matrix |
46 | compare two strings | http://www.programmingsimplified.com/java/source-code/java-program-compare-strings |
47 | check armstrong number | http://www.programmingsimplified.com/java/source-code/java-program-armstrong-number |
48 | print Floyd's triangle | http://www.programmingsimplified.com/java/source-code/java-program-print-Floyds-triangle |
49 | swap | http://www.programmingsimplified.com/java/source-code/java-program-swap-numbers |
50 | open Notepad | http://www.programmingsimplified.com/java/source-code/java-program-open-notepad |
51 | singly circular Linked List | http://www.sanfoundry.com/java-program-implement-circular-singly-linked-list/ |
52 | double circular linked list | http://www.sanfoundry.com/java-program-implement-circular-doubly-linked-list/ |
53 | singly linear linked list | http://codereview.stackexchange.com/questions/82698/singly-linked-list-in-java |
54 | double linear linked list | http://codereview.stackexchange.com/questions/63171/implementation-of-a-doubly-linked-list-in-java |
55 | do while loop | http://beginnersbook.com/2015/03/do-while-loop-in-java-with-example/ |
56 | do while loop example program to iterate an array | http://beginnersbook.com/2015/03/do-while-loop-in-java-with-example/ |
57 | find duplicate characters in a string | http://beginnersbook.com/2014/07/java-program-to-find-duplicate-characters-in-a-string/ |
58 | get input from user | http://beginnersbook.com/2014/07/java-program-to-get-input-from-user/ |
59 | merge sort singly linked list | http://codereview.stackexchange.com/questions/136224/merge-sorting-a-singly-linked-list-in-java?rq=1 |
60 | constructors in java | http://beginnersbook.com/2013/03/constructors-in-java/ |
61 | polymorphism | http://beginnersbook.com/2013/03/polymorphism-in-java/ |
62 | method overloading | http://beginnersbook.com/2013/05/method-overloading/ |
63 | method overriding in java with example | http://beginnersbook.com/2014/01/method-overriding-in-java-with-example/ |
64 | runtime compile time polymorphism | http://beginnersbook.com/2013/04/runtime-compile-time-polymorphism/ |
65 | inheritance in java | http://beginnersbook.com/2013/03/inheritance-in-java/ |
66 | java inheritance types | http://beginnersbook.com/2013/05/java-inheritance-types/ |
67 | encapsulation | http://beginnersbook.com/2013/05/encapsulation-in-java/ |
68 | java static dinamic binding | http://beginnersbook.com/2013/04/java-static-dynamic-binding/ |
69 | java static class block methods variables | http://beginnersbook.com/2013/04/java-static-class-block-methods-variables/ |
70 | inner class | http://beginnersbook.com/2013/05/inner-class/ |
71 | java absttract class method | http://beginnersbook.com/2013/05/java-abstract-class-method/ |
72 | java interface | http://beginnersbook.com/2013/05/java-interface/ |
73 | TreeMap in Java | http://beginnersbook.com/2013/12/treemap-in-java-with-example/ |
74 | HashMap Class | http://beginnersbook.com/2014/08/java-hashmap-class/ |
75 | HashSet Class in Java | http://beginnersbook.com/2013/12/hashset-class-in-java-with-example/ |
76 | TreeSet Class in Java | http://beginnersbook.com/2013/12/treeset-class-in-java-with-example/ |
77 | LinkedHashMap in Java | http://beginnersbook.com/2013/12/linkedhashmap-in-java/ |
78 | ArrayList in java | http://beginnersbook.com/2013/12/java-arraylist/ |
79 | Vector Class | http://beginnersbook.com/2014/08/java-vector-class/ |
80 | Java Enum | http://beginnersbook.com/2014/09/java-enum-examples/ |
81 | java access modifiers | http://beginnersbook.com/2013/05/java-access-modifiers/ |
82 | packages in java | http://beginnersbook.com/2013/03/packages-in-java/ |
83 | final keyword java | http://beginnersbook.com/2014/07/final-keyword-java-final-variable-method-class/ |
84 | super keyword java | http://beginnersbook.com/2014/07/super-keyword-in-java-with-example/ |
85 | long to String conversion | http://beginnersbook.com/2015/05/java-long-to-string/ |
86 | How to convert String to long in Java | http://beginnersbook.com/2013/12/how-to-convert-string-to-long-in-java/ |
87 | boolean to String conversion | http://beginnersbook.com/2015/05/java-boolean-to-string/ |
88 | How to convert string to int in Java | http://beginnersbook.com/2013/12/how-to-convert-string-to-int-in-java/ |
89 | double to string | http://beginnersbook.com/2015/05/java-double-to-string/ |
90 | How to convert String to Double in Java | http://beginnersbook.com/2013/12/how-to-convert-string-to-double-in-java/ |
91 | Java – int to String conversion | http://beginnersbook.com/2015/05/java-int-to-string/ |
92 | How To Convert InputStream To String In Java | http://beginnersbook.com/2013/12/how-to-convert-inputstream-to-string-in-java/ |
93 | Difference between String and StringBuffer | http://beginnersbook.com/2014/08/string-vs-stringbuffer/ |
94 | Convert String to boolean primitive in Java: parseBoolean() method | http://beginnersbook.com/2014/07/convert-string-to-boolean-primitive-in-java/ |
95 | java – Left padding a String with Spaces and Zeros | http://beginnersbook.com/2014/07/java-left-padding-a-string-with-spaces-and-zeros/ |
96 | Remove trailing spaces of a String | http://beginnersbook.com/2014/07/how-to-remove-only-trailing-spaces-of-a-string-in-java/ |
97 | java – Right padding a String with Spaces and Zeros | http://beginnersbook.com/2014/07/java-right-padding-a-string-with-spaces-and-zeros/ |
98 | Java Program to find duplicate Characters in a String | http://beginnersbook.com/2014/07/java-program-to-find-duplicate-characters-in-a-string/ |
99 | Java – ASCII to String conversion | http://beginnersbook.com/2015/05/java-ascii-to-string-conversion/ |
100 | Java – Writer to String conversion | http://beginnersbook.com/2015/05/java-writer-to-string-conversion/ |
Hand Typing Skill
Skill mengetik merupakan sesuatu hal yang perlu kita pelajari di jaman sekarang. Karena semua aktifitas kita bersinggungan dengan teknologi. Dan kita pasti jarang menulis dan lebih sering mengetik. Untuk itu kita perlu meningkatkan skill mengetik kita.
Ada beberapa situs yang menyediakan kelas belajar mengetik yang mudah untuk dipelajari. Salah satunya typingclub.com disana kita akan belajar memulai mengetik 10 jari dari dasar. Oleh karena itu saya menggunakan situs typingclub.com untuk belajar mengetik 10 jari.
Dan untuk mengetahui kemampuan mengetik saya, saya menggunakan situs 10fastfinger.com. Disana kita bisa mengetes kemampuan kita kendalanya saya masih sering melihat letak keyboard dan baru bisa mengetik dengan 3 jari. Oleh karena itu saya bertekad untuk terus memperbaiki skill mengetik saya.
Harapan
Sebelumnya perkenalkan nama saya Andrean Januar Priatmojo (5115100029) saya sekarang sedang menimba ilmu di jurusan Teknik Informatika ITS. Saat ini saya mengambil mata kuliah Pemrograman Berorientasi Objek. Yang membuat saya mulai menulis di blog ini.
Saat saya mulai menulis blog ini saya belum mengenal apa itu PBO, dan saya juga belum mengenal Bahasa pemrograman JAVA karena memang di kelas PBO yang saya pelajari menggunakan Bahasa pemrograman JAVA. Oleh karena itu saya berharap satu semester kedepan saya dapat mempelajari dengan baik apa itu PBO dan juga mampu dan paham dengan Bahasa pemrograman JAVA. Dan saya berharap dengan apa yang saya pelajari di kelas PBO ini saya dapat memulai membuat suatu karya yang bermanfaat nantinya.
Ya sekian tulisan singkat pertama saya di dalam blog ini. Dan nantikan update terbaru dari blog ini
^^
Langganan:
Postingan (Atom)