Java Tutorial | Learn Java Programming with Examples

This is a complete in-depth core Java Tutorial for beginners. This core Java Tutorial contains the links of all the tutorials in a systematic order starting from the beginner’s level to the advanced topics. 

The source code examples from this up-to-date tutorial are developed using JDK 8 or later and are well-tested in our local development environment. This tutorial contains more than 300 + articles with source code examples.

Latest Java Articles

Is Java Pass-by-Value or Pass-by-Reference?

Why Java Does Not Support Copy Constructor

Why Java Does Not Support Operator Overloading

Why Java Does Not Support Pointers

Why Java Does Not Support Multiple Inheritance

Why is Java Called Portable?

Why is Java Architecture Neutral?

Why is Java Robust?

Why is Java Secure?

Is Java Open Source?

Is Java Easy to Learn?

Is Java Case Sensitive?

Is Java Pure Object-Oriented?

Is Java Compiled or Interpreted?

What is JIT?

What is JVM?

What Are the Top Java Features?

Is Java Platform Independent?

How to Use var in Lambda Expressions in Java

How to Create a Reactive Stream in Java

Java Text Blocks

How to Get the Last Record in Spring Data JPA

Convert String into List of Characters in Java

Convert String into List of Characters in Python

How to Find the Last Iteration of for Loop in Java

Difference Between Entity and DTO in Java

Deserializing JSON to Java Records

Converting a Byte Array to a Char Array in Java

Convert Positive Integer to Negative in Java

Convert Long to LocalDateTime in Java

Sorting LinkedHashMap by Keys in Java

Sorting LinkedHashMap by Values in Java

Retrieving the First Non-Null Value in Java

String isEmpty() vs isBlank() in Java

Parsing XML to HashMap in Java

Convert Timestamp to Long in Java

Convert Timestamp to LocalDateTime in Java

Iterating Over String Characters in Java

YouTube Video - JDK, JRE and JVM

Java Language Basics

Java Array Tutorial

Java Object-Oriented Programming

  1. What Is Object in Java with Programming Examples
  2. What is Class in Java with Programming Examples
  3. What are All the Different Ways to Create an Object in Java?
  4. java.lang.Object Class methods with Examples
  5. Java Interface
  6. Java Abstract Class
  7. Abstraction in Java with Example
  8. Encapsulation in Java with Example
  9. Inheritance in Java with Example
  10. Polymorphism in Java with Example
  11. Composition in Java with Example
  12. Aggregation in Java with Example
  13. Association in Java with Example
  14. Cohesion in Java with Example
  15. Coupling in Java with Example
  16. Delegation in Java with Example
  17. Oops Concepts in Java
  18. How to Make Immutable Class in Java
  19. Packages in Java with Examples
  20. Overloading Constructors in Java with Examples
  21. Method Overloading in Java with Examples
  22. Nested Classes in Java
Learn more about Object Oriented Design on Java Oops Tutorial

String Handling Tutorial

Exception Handling Tutorial

  1. Java Exception Handling Guide
  2. How the Exception Handling Works in Java
  3. Three Types of Exceptions in Java
  4. Exceptions Hierarchy in Java
  5. Java Chained Exceptions
  6. java.lang.Throwable Class in Java
  7. Exception Handling Keywords in Java
  8. Java try/catch Block
  9. Java throw Keyword
  10. Java throws Keyword
  11. Java finally Block
  12. The try-with-resources Statement
  13. Advantages of Java Exceptions
  14. Java Exception Handling Best Practices
To know in-depth about an exception handling on Java Exception Handling Tutorial

Collection Framework Tutorial

  1. Collections Framework in Java
  2. Collections Framework - The Collection Interface
  3. Collections Framework - The Set Interface
  4. Collections Framework - The SortedSet Interface
  5. Collections Framework - The List Interface
  6. Collections Framework - The Queue Interface
  7. Collections Framework - The Deque Interface
  8. Collections Framework - The Map Interface
  9. Collections Framework - The SortedMap Interface
  10. Collections Framework - ArrayList Class
  11. Collections Framework - LinkedList Class
  12. Collections Framework - CopyOnWriteArrayList
  13. Collections Framework - HashSet Class
  14. Collections Framework - LinkedHashSet Class
  15. Collections Framework - TreeSet Class
  16. Collections Framework - CopyOnWriteArraySet
  17. Collections Framework - EnumSet
  18. Collections Framework - HashMap Class
  19. Collections Framework - LinkedHashMap Class
  20. Collections Framework - TreeMap class
  21. Collections Framework - EnumMap
  22. Collections Framework - WeakHashMap
  23. Collections Framework - IdentityHashMap
Learn more about Java Collections on Java Collections Tutorial

Java Generics Tutorial

  1. Java Generics - Generics Basics
  2. Java Generics - Benefits of Generics
  3. Java Generics - Generic Types
  4. Java Generics - Generic Methods in Java
  5. Java Generics - Bounded Type Parameters
  6. Java Generics - Wildcards
  7. Java Generic Methods Examples
  8. Java Generic Interface Examples
  9. Java Generic Class Examples
  10. Java Generics Multiple Type Parameters Example

Java Input/Output Tutorials

  1. Create File
  2. Write File
  3. Delete File
  4. Copy File
  5. Move File
  6. Rename File
  7. Append to File
  8. Read File using BufferReader
  9. Read File using BufferInputStream
  10. Read File using DataInputStream
  11. Get File Size in Bytes KB MB GB TB
  12. How to write an Object to file in Java
  13. How to Read Object from File
  14. Compress Files in ZIP format in Java
  15. Decompress Files from a ZIP file in Java
  16. Get the current working directory
  17. Create a directory
  18. Delete directory
  19. Copy directory
  20. Traverse /List a directory structure
  21. Check if the directory is empty
To know in-depth about File handling on Java I/O Tutorial

Java Multithreading Tutorial

  1. How to Create and Start a Thread in Java
  2. Java Thread Sleep Example
  3. Java Thread Join Example
  4. Java Thread Set Name Example
  5. Java Thread interrupt Example
  6. Java Thread Priority Example
  7. Java Thread isAlive Example
  8. ThreadGroup class in Java
  9. Thread Class in Java
  10. Runnable Interface in Java
  11. Synchronization in Multithreading Java
  12. ThreadLocal class in Java
To know in-depth about Java multi-threading on Java Multithreading Tutorial

Java Reflection Tutorial

Serialization in Java

  1. Guide to Serialization in Java
  2. Java Transient Keyword
  3. Guide to the understanding of serialVersionUID
  4. Secure Coding Standards for Java Serialization

Java Annotations

  1. Java @Override Annotation
  2. Java @SafeVarargs Annotation
  3. Java @Deprecated Annotation
  4. Java @SuppressWarnings Annotation
  5. Java @FunctionalInterface Annotation
  6. All Java Built-In Annotations Examples

 Java Language Keywords References

Check out all 50 keywords in the Java programming language.:
  1. abstract Java Keyword
  2. assert Java Keyword
  3. boolean Java Keyword
  4. break Java Keyword
  5. byte Java Keyword
  6. case Java Keyword
  7. catch Java Keyword
  8. char Java Keyword
  9. class Java Keyword
  10. continue Java Keyword
  11. default Java Keyword
  12. do Java Keyword
  13. double Java Keyword
  14. else Java Keyword
  15. enum Java Keyword
  16. extends Java Keyword
  17. final Java Keyword
  18. finally Java Keyword
  19. float Java Keyword
  20. for Java Keyword
  21. if Java Keyword
  22. implements Java Keyword
  23. import Java Keyword
  24. instanceof Java Keyword
  25. int Java Keyword
  26. interface Java Keyword
  27. long Java Keyword
  28. native Java Keyword
  29. new Java Keyword
  30. package Java Keyword
  31. private Java Keyword
  32. protected Java Keyword
  33. public Java Keyword
  34. return Java Keyword
  35. short Java Keyword
  36. static Java Keyword
  37. strictfp Java Keyword
  38. super Java Keyword
  39. switch Java Keyword
  40. synchronized Java Keyword
  41. this Java Keyword
  42. throw Java Keyword
  43. throws Java Keyword
  44. transient Java Keyword
  45. try Java Keyword
  46. void Java Keyword
  47. volatile Java Keyword
  48. while Java Keyword
  49. goto Java Keyword
  50. const Java Keyword

Java best practices

  1. Java Enums and Annotations Best Practices
  2. Java Generics Best Practices
  3. JUnit Framework Best Practices
  4. Single Responsibility Principle
  5. Liskov's Substitution Principle
  6. Interface Segregation Principle
  7. Dependency Inversion Principle
  8. Open Closed Principle
  9. Oops principles in java
  10. Restful API Best Practices
  11. JSP Best Practices
  12. JDBC Best Practices
  13. Collection Best Practices
  14. String Best Practices in Java
  15. Exception Handling Best Practices
  16. Synchronization Best Practices
  17. Guide to JDBC Best Practices
  18. Serialization Best Practices

FAQs on Java

  1. Is Java Pass-by-Value or Pass-by-Reference?
  2. Why Java Does Not Support Copy Constructor
  3. Why Java Does Not Support Operator Overloading
  4. Why Java Does Not Support Pointers
  5. Why Java Does Not Support Multiple Inheritance
  6. Why is Java Called Portable?
  7. Why is Java Architecture Neutral?
  8. Why is Java Robust?
  9. Why is Java Secure?
  10. Is Java Open Source?
  11. Is Java Easy to Learn?
  12. Is Java Case Sensitive?
  13. Is Java Pure Object-Oriented?
  14. Is Java Compiled or Interpreted?
  15. What is JIT?
  16. What is JVM?
  17. What Are the Top Java Features?
  18. Is Java Platform Independent?
  19. How to Use var in Lambda Expressions in Java
  20. How to Create a Reactive Stream in Java

100+ Java Programs

Data Structures and Algorithms in Java

Comments

Post a Comment

Leave Comment