Reading history
Java

Java Tutorial

Java programming for beginners: the JVM, your first programs, types, methods and loops.

Start learning 61 lessons

Lessons

  1. Java Introduction: Your First Java Program
  2. Java Variables and Data Types (Primitives, var, Casting)
  3. Java Operators: Arithmetic, Logical, Ternary and More
  4. Java if-else and switch Statements (With Examples)
  5. Java Loops: for, while, do-while and for-each
  6. Java Arrays: Declare, Loop, Sort and 2D Arrays
  7. Java Strings: Methods, StringBuilder and Formatting
  8. Java Methods: Parameters, Return, Overloading, Recursion
  9. Java Classes and Objects: Constructors, this, Encapsulation
  10. Java Inheritance, Polymorphism, Abstract Classes, Interfaces
  11. Java Exception Handling: try, catch, finally, throw, throws
  12. Java Interfaces and Abstract Classes (with Examples)
  13. Java ArrayList: add, get, set, remove and Sort
  14. Java HashMap: put, get, Iteration and Word Count
  15. Java HashSet, LinkedHashSet and TreeSet
  16. Java Generics: Generic Classes, Methods and Wildcards
  17. Java Enums and Records with Examples
  18. Java Lambda Expressions and Functional Interfaces
  19. Java Streams API: filter, map, collect and groupingBy
  20. Java File Handling: Read and Write Files with Path and Files
  21. Java Multithreading: Threads, synchronized and ExecutorService
  22. Java static and final Keywords with Examples
  23. Java Wrapper Classes and Autoboxing
  24. Java Comparable and Comparator: Sorting Objects
  25. Java Queue, Deque and PriorityQueue
  26. Java Optional: Avoid NullPointerException
  27. Java Date and Time API (LocalDate, LocalDateTime, ZonedDateTime)
  28. Java Regular Expressions (Regex) with Pattern and Matcher
  29. Java Inner, Nested and Anonymous Classes
  30. Java equals(), hashCode() and toString() Explained
  31. Java Scanner: Read User Input (nextInt, nextLine)
  32. Java Sealed Classes and Pattern Matching for switch
  33. Java BigDecimal and BigInteger: Exact Money and Huge Numbers
  34. Recursion in Java: Memoization and Backtracking
  35. Java Iterable and Iterator: Custom Iteration and Safe Removal
  36. Design Patterns in Java: Singleton, Builder, Factory, Strategy, Observer
  37. Java Collections Framework Overview: Choosing the Right Collection
  38. Java Annotations and Reflection With a Custom Validator
  39. Immutable Objects in Java: Final Fields, Defensive Copies and Records
  40. Java BlockingQueue and ConcurrentHashMap: Thread-Safe Collections
  41. Java Project: Library Management System
  42. Java StringBuilder and String Formatting
  43. Java Varargs and Method Overloading
  44. Java Custom Exceptions and Try-With-Resources
  45. Java Functional Interfaces and Method References
  46. Java Stream Collectors and groupingBy
  47. Java TreeMap, LinkedHashMap and an LRU Cache
  48. Java ExecutorService and Thread Pools
  49. Java CompletableFuture
  50. Java Bit Manipulation
  51. Java Project: Bank Account System
  52. Java Math Class and Random Numbers
  53. Java Character Class and Unicode
  54. Java Constructors and Initialization Order
  55. Java Shallow Copy and Deep Copy
  56. How Java HashMap Works Internally
  57. Java String Coding Problems
  58. Java Two Pointers and Sliding Window
  59. SOLID Principles in Java
  60. Java Command-Line Arguments and Properties
  61. Java Project: Student Result System