Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A collection of Java examples and experiments to understand core concepts, design patterns, and coding practices.

License

Notifications You must be signed in to change notification settings

viveknaskar/java-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java Experiments

GitHub stars GitHub last commit open issues

A series of java programs intended for coding practices, concepts understanding and experiments. The repository will be updated with new try-outs and experiments regularly.

Prerequisites

To run this project, you need the following:

  • Java Development Kit (JDK): Version 8 or higher is recommended.
  • Build Tool: (Optional) Maven or Gradle, if you'd like to manage dependencies or structure.
  • IDE/Text Editor: IntelliJ IDEA, Eclipse, or any other Java-supporting editor for easy code exploration.
  • Command Line: To compile and run programs manually.

Some of them covered are:

  • AdapterExample: Demonstrates the Adapter Design Pattern for interface compatibility.
  • ComparatorExample: Illustrates custom sorting using Java's Comparator interface.
  • DateAndTime: Explores Java's Date and Time API, including LocalDate and LocalTime.
  • DecoratorExample: Implements the Decorator Design Pattern for dynamic behavior addition.
  • GenericsExample: Provides examples of using Java Generics in classes.
  • SingletonExample: Covers the Singleton Design Pattern and ways to break and protect it.
  • StreamsExample: Highlights Java 8 Streams API for functional-style operations on collections.
  • StringExamples: Explores common string manipulation techniques.
  • TryCatchFinallyExample: Demonstrates proper use of exception handling in Java.

Java Class Files

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.