Langsung ke konten utama

JAVA

Java merupakan bahasa pemrograman dasar yang digunakan untuk pembuatan aplikasi. Java juga merupakan bahasa pemrograman yang dapat dijalankan di berbagai perangkat komputer. Salah satu kelebihan Utama dari bahasa pemrograman Java adalah program yang dibuat dengan menggunakan Bahasa Java dapat dijalankan pada berbagai perangkat atau sistem operasi. Bahasa Java adalah bahasa pemrograman yang berorientasi object atau OOP (Object Oriented Programming).
  1. Pendahuluan

  2. Dasar Pemrograman

  3. Konsep Pemrograman Berorientasi Objek

  4. Inheritance

  5. Operator
    • Operator pada Java [klik]
    • JAVA Operator bitwise (EMPTY)
    • JAVA Operator new (EMPTY)
    • JAVA Operator bitwise right shift (EMPTY)
    • JAVA Operator java instanceof dan aplikasinya (EMPTY)
    • JAVA Objek autoboxed integer (EMPTY)
    • JAVA Addition dan concatenation (EMPTY)
    • JAVA Numeric promotion dalam ekspresi kondisional (EMPTY)
    • Back to TOP...]

  6. Input dan Output
    • JAVA Character stream vs byte stream (EMPTY)
    • JAVA DoubleStream mapToObj() (EMPTY)
    • JAVA Argumen perintah baris (EMPTY)
    • JAVA Class scanner (EMPTY)
    • JAVA Scanner dan nextChar() (EMPTY)
    • JAVA Scanner vs class BufferReader (EMPTY)
    • JAVA Format output (EMPTY)
    • JAVA Fast I/O untuk competitive programming (EMPTY)
    • JAVA Membaca input dari console (EMPTY)
    • Back to TOP...]

  7. Strings
    • JAVA Class string (EMPTY)
    • JAVA Class StringBuffer (EMPTY)
    • JAVA Class StringBuilder (EMPTY)
    • JAVA Class StringTokenizer class – Set 1 (EMPTY), Set 2 (EMPTY)
    • JAVA StringJoiner pada Java8 (EMPTY)
    • Back to TOP...]

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

  9. Array
    • JAVA Array (EMPTY)
    • JAVA Nilai default array (EMPTY)
    • JAVA Class util array (EMPTY)
    • JAVA Class reflect array (EMPTY)
    • JAVA util.Arrays vs reflect.Array (EMPTY)
    • JAVA Final array (EMPTY)
    • JAVA Fakta menarik seputar assignment array (EMPTY)
    • JAVA Jagged array (EMPTY)
    • JAVA Array IndexOutofbounds exception (EMPTY)
    • JAVA Array vs ArrayList (EMPTY)
    • Back to TOP...]

  10. Implementasi Array
    • JAVA Perbandingan dua array (EMPTY)
    • JAVA Konversi ArrayList ke array (EMPTY)
    • JAVA Merge array menjadi object array baru (EMPTY)
    • Back to TOP...]

  11. Stream
    • JAVA Stream java (EMPTY)
    • JAVA Stream.Builder (EMPTY)
    • JAVA IntStream (EMPTY)
    • JAVA IntStream.Builder (EMPTY)
    • JAVA LongStream (EMPTY)
    • JAVA LongStream.Builder (EMPTY)
    • JAVA DoubleStream (EMPTY)
    • JAVA DoubleStream.Builder (EMPTY)
    • JAVA Stream collector (EMPTY)
    • Back to TOP...]

  12. Implementasi Stream
    • JAVA Sepuluh cara untuk menciptakan stream (EMPTY)
    • JAVA Mencetak elemen dari stream (EMPTY)
    • JAVA Program iterasi menggunakan stream beserta indeks (EMPTY)
    • JAVA Mendapatkan ArrayList dari stream (EMPTY)
    • Back to TOP...]

  13. Keyword
    • JAVA Semua keyword pada java (EMPTY)
    • JAVA Keywords penting (EMPTY)
    • JAVA Keyword this (EMPTY)
    • JAVA Keyword super (EMPTY)
    • JAVA Keyword static (EMPTY)
    • JAVA Keyword final (EMPTY)
    • JAVA Final, finally, dan finalize (EMPTY)
    • JAVA Keyword abstract (EMPTY)
    • JAVA Keyword transient (EMPTY)
    • JAVA Keyword volatile (EMPTY)
    • JAVA Keyword strictfp (EMPTY)
    • Back to TOP...]

  14. C++ vs Java
    • JAVA C++ vs Java (EMPTY)
    • JAVA Keyword static pada C++ vs Java (EMPTY)
    • JAVA Exception handling pada C++ vs Java (EMPTY)
    • JAVA Inheritance pada C++ vs Java (EMPTY)
    • JAVA Virtual behavior differ pada C++ vs Java (EMPTY)
    • JAVA Foreach pada C++ and Java (EMPTY)
    • JAVA C/C++ pointers vs Java references (EMPTY)
    • JAVA Perbandingan tipe data boolean pada C++ and Java (EMPTY)
    • JAVA Floating Point Operation & Associativity pada C, C++ dan Java (EMPTY)
    • Back to TOP...]

  15. Method pada Java
    • JAVA Method (EMPTY)
    • JAVA Parameter passing (EMPTY)
    • JAVA Pengembalian nilai ganda (EMPTY)
    • JAVA Method throwable fillInStackTrace() (EMPTY)
    • JAVA Valid variants dari main() (EMPTY)
    • JAVA Method variable arguments (Varargs) (EMPTY)
    • JAVA Method overloading (EMPTY)
    • JAVA Beberapa pendekatan dari method overloading (EMPTY)
    • JAVA Method overloading dan null error (EMPTY)
    • JAVA Method overloading dengan autoboxing dan widening (EMPTY)
    • JAVA Method overloading dan ambiguitas pada varargs (EMPTY)
    • JAVA Overloading main() (EMPTY)
    • JAVA Method overriding equals (EMPTY)
    • JAVA Method overriding toString() (EMPTY)
    • JAVA Method private dan final (EMPTY)
    • JAVA Java is strictly pass by value (EMPTY)
    • JAVA Method Clone() (EMPTY)
    • JAVA Remote method invocation (EMPTY)
    • JAVA Method default (EMPTY)
    • JAVA Passing dan returning objects (EMPTY)
    • JAVA Method date after() (EMPTY)
    • JAVA Method System.exit() (EMPTY)
    • Back to TOP...]

  16. Constructor
    • JAVA Constructor pada Java (EMPTY)
    • JAVA Default constructor (EMPTY)
    • JAVA Assigning values to static final variables (EMPTY)
    • JAVA Copy constructor (EMPTY)
    • JAVA Constructor chaining (EMPTY)
    • JAVA Private constructor dan singleton class (EMPTY)
    • JAVA Java interview question pada constructor (EMPTY)
    • JAVA Singleton class (EMPTY)
    • JAVA Constructor overloading (EMPTY)
    • Back to TOP...]

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

  18. Interface dan Abstract Class
    • JAVA Interface (EMPTY)
    • JAVA Akses specifier untuk method pada interface (EMPTY)
    • JAVA Akses specifier untuk class atau interface (EMPTY)
    • JAVA Class abstract (EMPTY)
    • JAVA Perbedaan antara class abstract dan interface (EMPTY)
    • JAVA Comparator interface (EMPTY)
    • JAVA Method interface (EMPTY)
    • JAVA Interface bersarang (EMPTY)
    • JAVA Class bersarang (EMPTY)
    • JAVA Inner class (EMPTY)
    • JAVA Inner class lokal (EMPTY)
    • JAVA Inner class anonimus (EMPTY)
    • JAVA Fungsi interface (EMPTY)
    • JAVA Marker interface (EMPTY)
    • JAVA Pertanyaan pada class abstract dan interface (EMPTY)
    • JAVA Method static pada interface (EMPTY)
    • JAVA Fungsi interface (EMPTY)
    • Back to TOP...]

  19. Apache
    • JAVA Pendahuluan (EMPTY)
    • JAVA Memulai program (EMPTY)
    • JAVA Menulis dan membaca data dari file excel (EMPTY)
    • JAVA Membuat sheets pada file excel (EMPTY)
    • JAVA Menciptakan cell pada posisi tertentu dalam file excel (EMPTY)
    • JAVA Membuka sheet excel (EMPTY)
    • Back to TOP...]

  20. Java Package
    • JAVA Pengenalan package (EMPTY)
    • JAVA Package java.io (EMPTY)
    • JAVA Package java.lang (EMPTY)
    • JAVA Package java.util (EMPTY)
    • Back to TOP...]

  21. Java collection

  22. AbstractCollection [klik]
    • JAVA Class collection (EMPTY)
    • JAVA Enumeration, iterator, dan ListIterators (EMPTY)
    • JAVA Konversi iterable menjadi collection (EMPTY)
    • JAVA Penggunaan iterator (EMPTY)
    • JAVA Iterator vs foreach (EMPTY)
    • JAVA Tipe dari iterator (EMPTY)
    • JAVA Pembuatan sequential stream dari iterator (EMPTY)
    • Back to TOP...]

  23. Implementasi Abstract Colletion

  24. List [klik]
    • JAVA AbstractList (EMPTY)
    • JAVA AbstractSequentialList (EMPTY)
    • JAVA ArrayList (EMPTY)
    • JAVA LinkedList (EMPTY)
    • JAVA Immutable list (EMPTY)
    • Back to TOP...]

  25. java.util.Concurrent

  26. Implementasi List
    • JAVA Kostumisasi ArrayList (EMPTY)
    • JAVA Perbedaan Synchronized ArrayList dan CopyOnWriteArrayList (EMPTY)
    • Back to TOP...]

  27. Queue [klik]

  28. java.util.Concurrent
    • JAVA ArrayBlockingQueue (EMPTY)
    • JAVA ConcurrentLinkedQueue (EMPTY)
    • JAVA LinkedBlockingQueue (EMPTY)
    • JAVA LinkedTransferQueue (EMPTY)
    • JAVA PriorityBlockingQueue (EMPTY)
    • Back to TOP...]

  29. Deque [klik]

  30. java.util.Concurrent
    • JAVA ConcurrentLinkedDeque (EMPTY)
    • JAVA LinkedBlockingDeque (EMPTY)
    • Back to TOP...]

  31. Set [klik]
    • JAVA AbstractSet (EMPTY)
    • JAVA EnumSet (EMPTY)
    • JAVA HashSet (EMPTY)
    • JAVA TreeSet (EMPTY)
    • Back to TOP...]

  32. java.util.Concurrent
    • JAVA ConcurrentSkipListSet (EMPTY)
    • JAVA CopyOnWriteArraySet (EMPTY)
    • JAVA LinkedHashSet (EMPTY)
    • Back to TOP...]

  33. Implementasi Set
    • JAVA Kerja internal dari set atau HashSet (EMPTY)
    • JAVA Menggabungkan dua set (EMPTY)
    • JAVA Memecah set struktur data (EMPTY)
    • Back to TOP...]

  34. Map [klik]
    • JAVA EnumMap (EMPTY)
    • JAVA HashMap (EMPTY)
    • JAVA SortedMap (EMPTY)
    • JAVA WeakHashMap (EMPTY)
    • JAVA ImmutableMap (EMPTY)
    • JAVA LinkedHashMap (EMPTY)
    • JAVA IdentityHashMap (EMPTY)
    • JAVA Dictionary (EMPTY)
    • Back to TOP...]

  35. java.util.Concurrent

  36. Implementasi Map
    • JAVA Cara kerja HashMap (EMPTY)
    • JAVA Melintasi HashMap (EMPTY)
    • JAVA Konversi HashMap ke TreeMap (EMPTY)
    • JAVA HashTable (EMPTY)
    • JAVA Stack (EMPTY)
    • JAVA Vector (EMPTY)
    • Back to TOP...]

  37. Collection Interview FAQ
    • JAVA Vector vs ArrayList (EMPTY)
    • JAVA ArrayList vs LinkedList (EMPTY)
    • JAVA Comparable vs comparator (EMPTY)
    • JAVA Perbedaan antara TreeMap, HashMap, dan LinkedHashMap (EMPTY)
    • JAVA HashMap vs HashTable (EMPTY)
    • JAVA Hashmap vs WeakHashMap (EMPTY)
    • JAVA Sinkronisasi ArrayList (EMPTY)
    • JAVA Method remove() ArrayList dan LinkedList (EMPTY)
    • JAVA Menghapus element dari ArrayList (EMPTY)
    • Back to TOP...]

  38. Java.nio
    • JAVA Method IntBuffer (EMPTY)
    • JAVA Method FloatBuffer (EMPTY)
    • JAVA Method DoubleBuffer (EMPTY)
    • JAVA Method ShortBuffer (EMPTY)
    • JAVA Method ByteBuffer (EMPTY)
    • JAVA Method CharBuffer (EMPTY)
    • Back to TOP...]

  39. Java.Security
    • JAVA Method signature (EMPTY)
    • JAVA Method SecureRandom (EMPTY)
    • JAVA Method KeyPairGenerator (EMPTY)
    • JAVA Method KeyFactory (EMPTY)
    • JAVA Method AlgorithmParameterGenerator (EMPTY)
    • JAVA Method provider (EMPTY)
    • Back to TOP...]

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

  41. Garbage Collection
    • JAVA Garbage collection (EMPTY)
    • JAVA Membuat object eligible untuk garbage collection (EMPTY)
    • JAVA Mark dan sweep (EMPTY)
    • JAVA Island of isolation (EMPTY)
    • JAVA Automatic resource management (EMPTY)
    • JAVA Iterator vs collection (EMPTY)
    • Back to TOP...]

  42. Wrapper Class
    • JAVA Wrapper class (EMPTY)
    • JAVA Primitive wrapper class yang immutable (EMPTY)
    • JAVA Class number (EMPTY)
    • JAVA Class integer (EMPTY)
    • JAVA Class byte (EMPTY)
    • JAVA Class short (EMPTY)
    • JAVA Class long (EMPTY)
    • JAVA Class float (EMPTY)
    • JAVA Class double (EMPTY)
    • JAVA Class boolean (EMPTY)
    • JAVA Class character (EMPTY)
    • JAVA Autoboxing dan unboxing (EMPTY)
    • Back to TOP...]

  43. Reflection
    • JAVA Reflection (EMPTY)
    • JAVA Class method (EMPTY)
    • JAVA Class reflect array (EMPTY)
    • JAVA util.Arrays vs reflect.Array (EMPTY)
    • JAVA Operator New vs newInstance() (EMPTY)
    • JAVA Operator Instanceof vs isInstance() (EMPTY)
    • Back to TOP...]

  44. File Handling
    • JAVA Class file (EMPTY)
    • JAVA Membaca teks file (EMPTY)
    • JAVA File permission (EMPTY)
    • JAVA Pemindahan file antar direktori (EMPTY)
    • JAVA Copy file menggunakan FileStreams (EMPTY)
    • JAVA Detele file (EMPTY)
    • JAVA Delete duplicate baris pada teks file (EMPTY)
    • JAVA Menggabung dua file menjadi satu file baru (EMPTY)
    • JAVA Daftar direktori file dan percabangannya dengan pendekatan rekursif (EMPTY)
    • JAVA Menghapus file tertentu dari teks file (EMPTY)
    • JAVA Periksa file tersembunyi (EMPTY)
    • JAVA Redirecting System.out.println() output menuju file (EMPTY)
    • Back to TOP...]

  45. Java Tuple
    • JAVA Pengenalan (EMPTY)
    • JAVA Class unit pada JavaTuples (EMPTY)
    • JAVA Class pair pada JavaTuples (EMPTY)
    • JAVA Class triplet pada JavaTuples (EMPTY)
    • JAVA Class quartet pada JavaTuples (EMPTY)
    • JAVA Class quintet pada JavaTuples (EMPTY)
    • JAVA Class sextet pada JavaTuples (EMPTY)
    • JAVA Class septet pada JavaTuples (EMPTY)
    • JAVA Class octet pada JavaTuples (EMPTY)
    • JAVA Class ennead pada JavaTuples (EMPTY)
    • JAVA Class decade pada JavaTuples (EMPTY)
    • JAVA Class LabelValue pada JavaTuples (EMPTY)
    • JAVA Class KeyValue pada JavaTuples (EMPTY)
    • JAVA Implementasi class pair dengan class unit (EMPTY)
    • JAVA Implementasi class quartet dengan class triplet (EMPTY)
    • JAVA Implementasi class triplet dengan class pair (EMPTY)
    • JAVA Implementasi class decade dari class ennead (EMPTY)
    • JAVA Implementasi class ennead dari class octet (EMPTY)
    • JAVA Implementasi class septet dari class sextet (EMPTY)
    • JAVA Implementasi class octet dari class septet (EMPTY)
    • JAVA Implementasi class sextet dari class quintet (EMPTY)
    • JAVA Implementasi class quintet dengan class quartet (EMPTY)
    • Back to TOP...]

  46. Kelebihan dan Kegunaan Fitur

  47. Image Processing
    • JAVA Read dan write (EMPTY)
    • JAVA Get dan set pixel (EMPTY)
    • JAVA Konversi gambar warna ke gambar greyscale (EMPTY)
    • JAVA Konversi gambar warna ke negatif (EMPTY)
    • JAVA Konversi warna ke gambar RGB (EMPTY)
    • JAVA Konversi gambar warna ke sepia (EMPTY)
    • JAVA Menciptakan gambar pixel acak (EMPTY)
    • JAVA Menciptakan mirror image (EMPTY)
    • JAVA Deteksi wajah (EMPTY)
    • JAVA Watermark image (EMPTY)
    • JAVA Mengubah orientasi gambar (EMPTY)
    • JAVA Peningkatan kontras (EMPTY)
    • JAVA Peningkatan kecerahan (EMPTY)
    • JAVA Peningkatan ketajaman (EMPTY)
    • JAVA Membandingkan dua gambar (EMPTY)
    • JAVA Kompresi dan dekompresi file (EMPTY)
    • Back to TOP...]

  48. Networking
    • JAVA Socket programming (EMPTY)
    • JAVA Pengenalan thread pada socket programming (EMPTY)
    • JAVA class URL (EMPTY)
    • JAVA class HttpURLConnection (EMPTY)
    • JAVA Membaca URL menggunakan class URLConnection (EMPTY)
    • JAVA Class inet address (EMPTY)
    • JAVA MD2 hash (EMPTY)
    • JAVA SHA-1 hash (EMPTY)
    • JAVA SHA-224 hash (EMPTY)
    • JAVA SHA-256 hash (EMPTY)
    • JAVA SHA-384 hash (EMPTY)
    • JAVA SHA-512 hash (EMPTY)
    • Back to TOP...]

  49. Package Java.Time
    • JAVA Class clock (EMPTY)
    • JAVA Class duration (EMPTY)
    • JAVA Class instant (EMPTY)
    • JAVA Class LocalDate (EMPTY)
    • JAVA Class LocalDateTime (EMPTY)
    • JAVA Class LocalTime (EMPTY)
    • JAVA Class MonthDay (EMPTY)
    • JAVA Class period (EMPTY)
    • JAVA Class year (EMPTY)
    • JAVA Class YearMonth (EMPTY)
    • JAVA Class ZonedDateTime (EMPTY)
    • Back to TOP...]

  50. Package Java.Lang [klik]
    • JAVA Java.Lang (EMPTY)
    • JAVA Class boolean (EMPTY)
    • JAVA Class byte (EMPTY)
    • JAVA Class character (EMPTY)
    • JAVA Class Character.Subset (EMPTY)
    • JAVA Class Character.UnicodeBlock (EMPTY)
    • JAVA Class Class pada Java Set 1 (EMPTY), Set 2 (EMPTY)
    • JAVA Class compiler (EMPTY)
    • JAVA Class double (EMPTY)
    • JAVA Class enum (EMPTY)
    • JAVA Class float (EMPTY)
    • JAVA Class InheritableThreadLocal (EMPTY)
    • JAVA Class integer (EMPTY)
    • JAVA Class long (EMPTY)
    • JAVA Class math Set 1 (EMPTY), Set 2 (EMPTY)
    • JAVA Class number (EMPTY)
    • JAVA Class object (EMPTY)
    • JAVA Class package (EMPTY)
    • JAVA Class process (EMPTY)
    • JAVA Class ProcessBuilder (EMPTY)
    • JAVA Class runtime (EMPTY)
    • JAVA Class short (EMPTY)
    • JAVA Class StackTraceElement (EMPTY)
    • JAVA Class StrictMath Set 1 (EMPTY), Set 2 (EMPTY)
    • JAVA Class string Set 1 (EMPTY), Set 2 (EMPTY)
    • JAVA Class StringBuffer (EMPTY)
    • JAVA Class StringBuilder (EMPTY)
    • JAVA Class System (EMPTY)
    • JAVA Class thread (EMPTY)
    • JAVA Class ThreadGroup (EMPTY)
    • JAVA Class ThreadLocal (EMPTY)
    • JAVA Class throwable (EMPTY)
    • JAVA Class void (EMPTY)
    • Back to TOP...]

  51. Package Java.Math
    • JAVA Class BigDecimal (EMPTY)
    • JAVA Class BigInteger (EMPTY)
    • JAVA Class BigDecimal (EMPTY)
    • JAVA Class BigInteger (EMPTY)
    • Back to TOP...]