Core Java Tutorials
This series of Step by step Core Java tutorials help you to understand and learn Java Language as quickly as possible. This tutorial series is designed for developers who are interested to learn new concepts in Java in different versions and practice them on the fly.
All the examples given below are well tested in our development environment; however, it’s a human tested environment, if you find any issues while running the examples please don’t hesitate to comment on the corresponding article page.
Java Installation and Setup:
- Install Java on Windows 10
- Install Java on Ubuntu
- Install Java on Mac OSX
- How to set JAVA HOME on Windows
- How to set JAVA HOME on Ubuntu
- How to set default Java version on Ubuntu
Core Java basics:
This tutorial is mostly designed for all beginners and experienced Java professionals.
- Features of Java programming
- Advantages of Java Programming
- JDK, JRE, JVM Differences
- Java HelloWorld Example
- public static void main(String args[])
- Java Static Variable, Method, Block and Class
- Increment and decrement operators in Java
- Java instanceOf Operator
- Java Variable Types
- Reference types in Java (Strong, weak, soft, phantom)
- Path vs Class-Path in Java
- Java Heap and Garbage Collection
- == Versus .equals() in Java
- b++ vs b=b+1 in Java
- 4 ways to create an Object in Java
- Lambda Expressions in Java
- Java Annotations
Java 8+ Topics:
- Lambda Expressions in Java
- Java Stream API and Parallelism
- Java Underscores in numeric literals
- Java Binay literals
- Java Fork and Join
- Java Type inferences
- Strings in Switch Cases
- Java MD5 Encryption
- Java8 – ForEach
- Java8 – Foreach Index
- Java8 – Streams
- Java8 – GroupingBy
- Java8 – SummingInt
- Java8 – Date-Time API
- Java8 – Default Static Methods in Interfaces
- Java8 – Repeating Annotations
- Java8 – Parallel Streams
- Java13 – Text Blocks
- Java15 – Features
JAXB
OOPS
- Oops Concepts In Java
- Java Class Example
- Java Constructors and their types
- Java Object creation
- Types Of Inheritance in Java
- Types of Polymorphism and advantages
- Overriding vs Overloading in Java
- Java Access Modifiers
- What is Aggregation in Java
- What is Association in Java
- Difference between Aggregation and Composition
Exception Handling
- What is an Exception in Java
- Exception handling in Java
- How to handle Exceptions in Java
- Advantages of Exception Handling
- Top 10 Exceptions in Java
- How to Handle User-Defined Exceptions in Java
- Try with Resources Example in Java
- Checked and Unchecked Exceptions in Java
- Exception Chaining and Debugging in Java with Example
Java IO
- Java 8 Stream API and Parallelism
- How to write data to a file in Java?
- How to count the number of lines characters and words in a file in Java?
- How to Search a file in a Directory using Java?
- Serialization and DeSerialization Example in Java
- Java Convert Path to File
- Get present working directory
- How to create a directory in Java
- How to create a jar file in Java
Core Java Collections
- How does Array work in Java?
- Collection Framework in Java
- Hierarchy of Collection Framework in Java
- How Comparable works in Java?
- How does Comparator work in Java?
- How does HashMap work In Java?
- How HashSet works in Java?
- TreeSet with Customizable Sorting in Java
- LinkedHashSet in Java
- Vector in Java
- ArrayList in Java
- Java LinkedList class
- Java WeakHashMap class Example
- Properties class Example in Java
- Java ArrayList vs Vector
- Java HashSet vs TreeSet
- Java Comparator vs Comparable
Java Swing Examples :
- Java Swing Login Example
- Java Swing Working with JLabel
- How to use Java JSlider
- Java JComboBox Example with Editable Field
- Java Swing Working with JList Example
- Java JList Multiple Selection and Copy the Selected List Items Example
- Java Swing How to Apply Different Borders BorderFactory Example
- Java Swing JOptionPane Example
- Java Swing JOptionPane Html Content Example
- Java Swing JTree Example
- How to add dynamic files to JTree Example
- Java Swing JTabbedPane Example
- Creating the Java Swing JMenu Example
- Java Swing JToolBar Example
- Java Swing JTable Example
- Java Swing Advanced JTable Example
- Java Swing ProgressBar Example
- Java Swing JSplitPane Example
- Java JColorChooser Example
- How to change Look and Feel of Swing setLookAndFeel
- How to draw shapes using Graphics
- How to create Java Rainbow using Swing
- How to create Java Smiley Swing
- Java Graphics2D Class Example
- Create Java Clock using Swings Example
Java PDF Readers:
Java JDBC:
- What is JDBC driver and Types of Drivers
- Step by Step JDBC Program Example
- JDBC Select Program Example
- JDBC Insert Program Example
- JDBC Update Program Example
- JDBC Delete Program Example
- JDBC Getting the Connection Properties from a Properties file
- JDBC PreparedStatement Example Program
- Insert an Image using JDBC in Mysql DB
- Read an Image in JDBC Example
- CallableStatement in JDBC Example
- How to make the JDBC ResultSet as Scrollable ResultSet Example Program
- How to make the JDBC ResultSet as Updatable ResultSet Example Program
- ResultSetMetaData in JDBC Example
- DatabaseMetaData in JDBC Example
- Transaction Management in JDBC Example
- Batch Processing in JDBC Example
- JDBC Interview Questions and Answers
- Spring + JDBC Template CRUD Operations Example
- Spring Boot + JDBC Template CRUD Operations Example
Thread
Sorting with Java:
Searching in Java:
HowTos – Java:
- How to – Convert Java int to String
- How to – Convert Java String to int
- How to – Convert Java String to int
- How to – Rotate Elements in List
- How to – Split a String
- How to – Enable –enable-preview mode
- How to – Read CSV file and mapping to Java Object
- How to – Check a String is balanced or not?
- How to – Find the missing numbers in an array
- How to – Rotate an Array Left to Right
- How to – Convert timestamp to Date
- How to – Add elements to ArrayList
- How to – Sort ArrayList Ascending Order
- How to – Sort ArrayList Descending Order
- How to – Iterate ArrayList (5 ways)
- How to – Create ArrayList (2 ways)
- How to – Convert Stream to List
- How to – Convert List to Map
- How to – Sort a Map
- How to – Filer a Map
- How to – Sort a collection with Java8 style
- How to – Read file line by line
- How to – Filter null values from the stream
- How to – Resolve NullPointerException in Collectors.toMap
- How to – Interable to Stream
- How to – Sort an Array in parallel
- How to – Get common elements from two lists
- How to – Convert InputStream to String
- How to – Generate Random String and Numbers
- How to – Get Min and Max Elements from a Stream
- How to – Get count of a Stream
- How to – Merge two Streams
- How to – Get UTC time in Java
- How to – Convert Stream to Array
- How to – Convert List to String comma-separated values
- How to – Convert Date to LocalDate
Core Java Interview:
- Java interview questions
- Java to 40 interview questions and answers
- Java top 15 Multithreading interview questions
Leave A Comment