Bahasa Java

Bahasa pemrograman Java adalah bahasa pemrograman yang paling banyak digunakan di berbagai platform. Bahasa Java dapat dikembangkan dan dijalankan di berbagai bahasa pemrograman. Bahasa Java adalah bahasa pemrograman yang handal, cepat, dan aman untuk pengembangan berbagai program aplikasi.

Kata Kunci:  Pendahuluan,  dasarPemrograman,  pemrogramanBerorientasiObjek,  Inheritance,  Operator,                                                                   


Pendahuluan







Dasar Pemrograman


Konsep Pemrograman Berorientasi Objek



Semua operator...]
Operator bitwise...]
Operator new...]
Operator bitwise right shift...]
Operator java instanceof dan aplikasinya...]
Objek autoboxed integer...]
Addition dan concatenation...]
Numeric promotion dalam ekspresi kondisional...]






Input dan Output

Character stream vs byte stream...]
DoubleStream mapToObj()...]
Argumen perintah baris...]
Class scanner...]
Scanner dan nextChar()...]
Scanner vs class BufferReader...]
Format output...]
Fast I/O untuk competitive programming...]
Membaca input dari console...]
Class string...]
Class StringBuffer...]
Class StringBuilder...]
Class StringTokenizer class – Set 1...], Set 2...]
StringJoiner pada Java8...]

Implementasi
Inisialisasi dan komparasi string...] 
String vs StringBuilder vs StringBuffer...]
Menggunakan StringJoiner di atas StringBuilder...]
Konversi integer ke string...]
String ke integer– parseInt()...]
Menukar dua string tanpa menggunakan variabel ke tiga...] 
Pencarian karakter dan sub-string dalam string...]
Perbandingan dua string...]
Reverse string...]
Hapus leading zero dari string...]
Trim pada string...]
Menghitung jumlah baris, kata, karakter, dan paragraf pada teks...]
Memeriksa apakah string hanya mengandung alpabet menggunakan ekspresi lamda...]
Hapus elemen dari faftar yang memenuhi predikat...]
Memeriksa apakah string hanya mengandung alfabet menggunakan nilai ASCII...]
Memeriksa apakah string hanya mengandung alfabet menggunakan regex...]

Array...]
Nilai default array...]
Class util array...]
Class reflect array...]
util.Arrays vs reflect.Array...]
Final array...]
Fakta menarik seputar assignment array...]
Jagged array...]
Array IndexOutofbounds exception...]
Array vs ArrayList...]

Implementasi
Perbandingan dua array...] 
Konversi ArrayList ke array...] 
Merge array menjadi object array baru...]
Stream java...]
Stream.Builder...]
IntStream...]
IntStream.Builder...]
LongStream...]
LongStream.Builder...]
DoubleStream...]
DoubleStream.Builder...]
Java Stream collector...]

Implementasi
Sepuluh cara untuk menciptakan stream...]
Mencetak elemen dari stream...]
Program iterasi menggunakan stream beserta indeks...]
Mendapatkan ArrayList dari stream...]
Keyword

Semua keyword pada java...]
Keywords penting...]
Keyword this...]
Keyword super...]
Keyword static...]
Keyword final...]
Final, finally, dan finalize...]
Keyword abstract...]
Keyword transient...]
Keyword volatile...]
Keyword strictfp...]
C++ vs Java...]
Keyword static pada C++ vs Java...]
Exception handling pada C++ vs Java...]
Inheritance pada C++ vs Java...]
Virtual behavior differ pada C++ vs Java...]
Foreach pada C++ and Java...]
C/C++ pointers vs Java references...]
Perbandingan tipe data boolean pada C++ and Java...]
Floating Point Operation & Associativity pada C, C++ dan Java...]

Kembali ke bagian awal>>>





Method pada Java

Method...]
Parameter passing...]
Pengembalian nilai ganda...]
Method throwable fillInStackTrace()...]
Valid variants dari main()...]
Method variable arguments (Varargs)...]
Method overloading...]
Beberapa pendekatan dari method overloading...]
Method overloading dan null error...]
Method overloading dengan autoboxing dan widening...]
Method overloading dan ambiguitas pada varargs...]
Overloading main()...]
Method overriding equals...]
Method overriding toString()...]
Method private dan final...]
Java is strictly pass by value...]
Method Clone()...]
Remote method invocation...]
Method default...]
Passing dan returning objects...]
Method date after()...]
Method System.exit()...]
Constructor pada Java...]
Default constructor...]
Assigning values to static final variables...]
Copy constructor...]
Constructor chaining...]
Private constructor dan singleton class...]
Java interview question pada constructor...]
Singleton class...]
Constructor overloading...]

Kembali ke bagian awal>>>





Exception Handling

Exception...]
OutOfMemoryError exception...]
Tiga pendekatan berbeda untuk mencetak pesan exception...]
Flow control pada try-catch-finally...]
Tipe dari exception...]
Catching base dan derived class sebagai exception...]
Checked vs unchecked exception...]
Throw dan throws...]
Kostumisasi definisi user exception...]
Infinity atau exception...]
Multicatch...]
Chained exception...]
Null pointer exception...]

Kembali ke bagian awal>>>





Interface dan Abstract Class

Interface...]
Akses specifier untuk method pada interface...]
Akses specifier untuk class atau interface...]
Class abstract...]
Perbedaan antara class abstract dan interface...]
Comparator interface...]
Method interface...]
Interface bersarang...]
Class bersarang...]
Inner class...]
Inner class lokal...]
Inner class anonimus...]
Fungsi interface...]
Marker interface...]
Pertanyaan pada class abstract dan interface...]
Method static pada interface...]
Fungsi interface...]

Pendahuluan...]
Memulai program...]
Menulis dan membaca data dari file excel...]
Membuat sheets pada file excel...]
Menciptakan cell pada posisi tertentu dalam file excel...]
Membuka sheet excel...]

Java Package

Pengenalan package...]
Package java.io...]
Package java.lang...]
Package java.util...]

Kembali ke bagian awal>>>





Java collection:

Collection...]

AbstractCollection...]
Class collection...]
Enumeration, iterator, dan ListIterators...]
Konversi iterable menjadi collection...]
Penggunaan iterator...]
Iterator vs foreach...]
Tipe dari iterator...]
Pembuatan sequential stream dari iterator...]

Implementasi
Inisialisasi double brace...]



List...]

AbstractList...]
AbstractSequentialList...]
ArrayList...]
LinkedList...]
Immutable list...]



java.util.Concurrent
CopyOnWriteArrayList...]

Implementasi
Kostumisasi ArrayList...]
Perbedaan Synchronized ArrayList dan CopyOnWriteArrayList...]



Queue...]

AbstractQueue...]



java.util.Concurrent
ArrayBlockingQueue...]
ConcurrentLinkedQueue...]
LinkedBlockingQueue...]
LinkedTransferQueue...]
PriorityBlockingQueue...]



Deque...]

ArrayDeque...]



java.util.Concurrent
ConcurrentLinkedDeque...]
LinkedBlockingDeque...]



Set...]

AbstractSet...]
EnumSet...]
HashSet...]
TreeSet...]

java.util.Concurrent
ConcurrentSkipListSet...]
CopyOnWriteArraySet...]
LinkedHashSet...]

Implementasi
Kerja internal dari set atau HashSet...]
Menggabungkan dua set...]
Memecah set struktur data...]



Map...]

EnumMap...]
HashMap...]
SortedMap...]
WeakHashMap...]
ImmutableMap...]
LinkedHashMap...]
IdentityHashMap...]
Dictionary...]

java.util.Concurrent
ConcurrentHashMap...]

Implementasi
Cara kerja HashMap...]
Melintasi HashMap...]
Konversi HashMap ke TreeMap...]
HashTable...]
Stack...]
Vector...]






Collection Interview FAQ

Vector vs ArrayList...]
ArrayList vs LinkedList...]
Comparable vs comparator...]
Perbedaan antara TreeMap, HashMap, dan LinkedHashMap...]
HashMap vs HashTable...]
Hashmap vs WeakHashMap...]
Sinkronisasi ArrayList...]
Method remove() ArrayList dan LinkedList...]
Menghapus element dari ArrayList...]
Method IntBuffer...]
Method FloatBuffer...]
Method DoubleBuffer...]
Method ShortBuffer...]
Method ByteBuffer...]
Method CharBuffer...]

Method signature...]
Method SecureRandom...]
Method KeyPairGenerator...]
Method KeyFactory...]
Method AlgorithmParameterGenerator...]
Method provider...]

Multithreading...]
Lifecycle dan states dari thread...]
Main thread...]
Method untuk mencegah eksekusi thread...]
Komunikasi inter thread...]
Class Java.lang.Thread...]
Fungsi Start() dalam multithreading...] 
Java thread priority...]
Joining thread...]
Penamaan thread dan fetching nama dari thread saat ini...]
Sinkronisasi...]
Sinkronisasi method dan block...]
Producer-consumer solution...]
Thread pool...]
Semaphore...]
Class Java.util.concurrent.Semaphore...]
CountDownLatch...]
Deadlock...]
Daemon thread...]
Reentrant lock...]
Cyclic barrier...]
Callable dan future...]
Runtime class...]

Kembali ke bagian awal>>>




Garbage Collection

Garbage collection...]
Membuat object eligible untuk garbage collection...]
Mark dan sweep...]
Island of isolation...]
Automatic resource management...]
Iterator vs collection...]
Wrapper class...]
Primitive wrapper class yang immutable...]
Class number...]
Class integer...]
Class byte...]
Class short...]
Class long...]
Class float...]
Class double...]
Class boolean...]
Class character...]
Autoboxing dan unboxing...]

Reflection...]
Class method...]
Class reflect array...]
util.Arrays vs reflect.Array...]
Operator New vs newInstance()...]
Operator Instanceof vs isInstance()...] 
Class file...]
Membaca teks file...]
File permission...]
Pemindahan file antar direktori...]
Copy file menggunakan FileStreams...]
Detele file...]
Delete duplicate baris pada teks file...]
Menggabung dua file menjadi satu file baru...]
Daftar direktori file dan percabangannya dengan pendekatan rekursif...]
Menghapus file tertentu dari teks file...]
Periksa file tersembunyi...]
Redirecting System.out.println() output menuju file...]
Pengenalan...]
Class unit pada JavaTuples...]
Class pair pada JavaTuples...]
Class triplet pada JavaTuples...]
Class quartet pada JavaTuples...]
Class quintet pada JavaTuples...]
Class sextet pada JavaTuples...]
Class septet pada JavaTuples...]
Class octet pada JavaTuples...]
Class ennead pada JavaTuples...]
Class decade pada JavaTuples...]
Class LabelValue pada JavaTuples...]
Class KeyValue pada JavaTuples...]
Implementasi class pair dengan class unit...]
Implementasi class quartet dengan class triplet...]
Implementasi class triplet dengan class pair...]
Implementasi class decade dari class ennead...]
Implementasi class ennead dari class octet...]
Implementasi class septet dari class sextet...]
Implementasi class octet dari class septet...]
Implementasi class sextet dari class quintet...]
Implementasi class quintet dengan class quartet...]
Kelebihan dan Kegunaan Fitur 

Generic...]
Wildcard...]
Assertion...]
Anotasi...]
Ekspresi lamda...]
Stream...]
Class BigInteger...]

Kembali ke bagian awal>>>





Image Processing 

Read dan write...]
Get dan set pixel...]
Konversi gambar warna ke gambar greyscale...]
Konversi gambar warna ke negatif...]
Konversi warna ke gambar RGB...]
Konversi gambar warna ke sepia...]
Menciptakan gambar pixel acak...]
Menciptakan mirror image...]
Deteksi wajah...]
Watermark image...]
Mengubah orientasi gambar...]
Peningkatan kontras...]
Peningkatan kecerahan...]
Peningkatan ketajaman...]
Membandingkan dua gambar...]
Kompresi dan dekompresi file...]
Socket programming...]
Pengenalan thread pada socket programming...]
class URL...]
class HttpURLConnection...]
Membaca URL menggunakan class URLConnection...]
Class inet address...]
MD2 hash...]
SHA-1 hash...]
SHA-224 hash...]
SHA-256 hash...]
SHA-384 hash...]
SHA-512 hash...]

Kembali ke bagian awal>>>





Package Java.Time

Class clock...]
Class duration...]
Class instant...]
Class LocalDate...]
Class LocalDateTime...]
Class LocalTime...]
Class MonthDay...]
Class period...]
Class year...]
Class YearMonth...]
Class ZonedDateTime...]






Package Java.Lang

Java.Lang...]
Class boolean...]
Class byte...]
Class character...]
Class Character.Subset...]
Class Character.UnicodeBlock...]
Class Class pada Java Set 1...], Set 2...]
Class compiler...]
Class double...]
Class enum...]
Class float...]
Class InheritableThreadLocal...]
Class integer...]
Class long...]
Class math Set 1...], Set 2...]
Class number...]
Class object...]
Class package...]
Class process...]
Class ProcessBuilder...]
Class runtime...]
Class short...]
Class StackTraceElement...]
Class StrictMath Set 1...], Set 2...]
Class string Set 1...], Set 2...]
Class StringBuffer...]
Class StringBuilder...]
Class System...]
Class thread...]
Class ThreadGroup...]
Class ThreadLocal...]
Class throwable...]
Class void...]

Kembali ke bagian awal>>>





Package Java.Math

Class BigDecimal...]
Class BigInteger...]