Welcome to Core Java Tutorial. I have written a lot on Core Java and Java EE frameworks. There was no index post for Core Java tutorial and I used to get emails asking to make one so that any beginner can follow them and learn core java programming. Finally, I got time and here I am listing all the core java tutorial related posts that I think will help you in learning core java in no time. This list is updated till Java-10 and soon it will be updated with the latest changes in Java-11 and beyond.
Core Java Tutorial
These core java tutorial assume that you have some basic knowledge of programming. These core java tutorial posts are not for someone who doesn’t know if-else blocks or for-loop etc. So why waste any more time, just read them in the below order and learn core java programming. If you think you know all about Java, just scroll below and read tutorials in “Advanced Topics” section, I am sure you will find something worth reading.
Core Java Tutorial – Getting Started
- Setting up Java in Windows OS
- Writing your First Java Program
- Java Method
- Constructor in Java
- Java Access Modifiers – public, protected, private and default
- Java for loop
- Java while loop
- Java do while loop
- Java static keyword
- Java break keyword
- Java continue keyword
Core Java Tutorial – Object Oriented Concepts
- OOPS Concepts
- Composition in Java
- Inheritance in Java
- Composition vs Inheritance in Java
- Java Nested Classes
Core Java Tutorial – Data Types and Operators
- Java Data Types, Primitives and Binary Literals
- Java Autoboxing and Unboxing
- Java Wrapper Classes
- Java Ternary Operator
Core Java Tutorial – Interface, Abstract Class
Core Java Tutorial – String Manipulation
- Why String is immutable and final?
- Understanding Java String Pool
- Java String subsequence example
- Java String compareTo example
- Java String substring example
- Converting String to char and vice versa
- Java Split String example
- String to byte array and vice versa
- String to char array
- Java String concatenation
- String, StringBuffer and StringBuilder in Java
- String Programs in Java
Core Java Tutorial – Arrays
- Initializing an Array in Java
- Two dimensional array in java
- Java Array of ArrayList
- String to String Array Example
- Java Variable Arguments Explained
- Java Array add elements
- Sorting an Array in Java
- Java String Array to String
- Java ArrayList to Array
- Converting Array to ArrayList in Java
- How to copy arrays in Java
Core Java Tutorial – Annotation and Enum
Core Java Tutorial – Collection & Generics
- Java Collections Framework Tutorial
- Java List
- Java ArrayList
- Java LinkedList
- Java Set
- Java HashSet
- Java TreeSet
- Java Map
- Java HashMap
- Java SortedMap
- Java TreeMap
- Java Queue
- Java Stack
- Java Iterator
- Java ListIterator
- Java PriorityQueue Example
- Priority Queue Java
- ArrayList vs CopyOnWriteArrayList
- How to avoid ConcurrentModificationException when using an Iterator
- Java Generics Example Tutorial
Core Java Tutorial – IO Operations
- Create a New File in Java
- Delete a File in Java
- File separators in Java
- Delete a Directory Recursively in Java
- Rename and Move a File in Java
- Getting File Size in Java
- Get File Extension in Java
- How to check if File exists in Java
- How to check if File is a Directory in Java
- How to get File last modified date in Java
- Java FileNameFilter example to list specific files
- Java File Path, Absolute Path and Canonical Path Explained
- How to set File Permissions in Java
- 4 ways to copy File in Java
- Reading File in Java using BufferedReader, Scanner, Files
- Java Scanner Class
- Open a File in Java
- Read a File to String in Java
- Java Read file line by line
- How to write a File in Java
- How to append data to a File in Java
- Converting InputStream to File
- Java Random Access File Example
- Download File from URL Example
- Java GZip Example
- Temp Files in Java
- Reading a CSV File using Java Scanner Class
- Java Property File Example
Core Java Tutorial – Exception Handling
Core Java Tutorial – MultiThreading and Concurrency
- Threads in Java
- Thread Life Cycle
- Thread Sleep Example
- Thread join Example
- Thread wait, notify, notifyAll Example
- Thread Safety in Java – Synchronization
- Java ThreadLocal Example
- Java Timer and TimerTask Example
- Java Thread Pool Example
- Java Callable Future Example
- Java FutureTask Example
- Java ScheduledThreadPoolExecutor Example
- Java Lock Example
Core Java Tutorial – Regular Expressions
- Regular Expressions in Java Example Tutorial
- Validating Email Address using Regular Expression in Java
- Validating Phone Number using Regex in Java
Core Java Reflection API
Java 7
- String in switch case
- Try with Resources – Java ARM
- Binary Literals in Java
- Underscores in Numeric Literals
- Catching Multiple Exceptions in a single catch block
- Java PosixFilePermission example to set File Permissions
Java 8
- Java 8 Features Overview
- Java 8 interface changes
- Lambda Expressions in Java
- Stream API in Java
- Java Date Time API Example Tutorial
- Java Spliterator
Java 9
- Java 9 Features
- Java 9 private method in interfaces
- Java 9 try-with-resources improvements
- Java 9 Optional class improvements
- Java 9 Stream API improvements
- Java 9 “var” for local variables
- Java 9 “_” (underscore) changes
- Java 9 Factory Methods for Immutable List
- Java 9 Factory Methods for Immutable Set
- Java 9 Factory Methods for Immutable Map
- Java 9 Modules
- Java 9 Module Basics Part 2
- Develop Java Module using Command Prompt
- Develop Java Module using Eclipse
- Develop Java Module using IntelliJ IDEA
Java 10
Java 11
Core Java Tutorial – Advanced Topics
- Java Heap Memory and Stack Memory
- Java is Pass by Value and not Pass by Reference
- JVM Memory Model and Garbage Collection
- Serialization in Java
- Java System Class
- Internationalization (i18n) in Java
- Atomic Operations in Java
- Thread Dump in Java
- Deadlocks in Java
- Sorting Objects in Java
- Understanding JDK, JRE and JVM
- Java Classloader Example Tutorial
- Java clone object
Well, it’s a lot of reading material for core java tutorial. But if you think that I have missed out on something, please go ahead and comment below. I will write something on that and add that to the list. Reference: Oracle JavaSE Tutorial
Source:
https://www.digitalocean.com/community/tutorials/core-java-tutorial