GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - viveknaskar/java-experiments: A collection of Java examples and experiments to understand core concepts, design patterns, and coding practices.

BranchesTags
Open more actions menu

Latest commit

 

History

70 Commits
70 Commits

Folders and files

NameName
Last commit message
Last commit date
src/main/java/com/javaexperiments
src/main/java/com/javaexperiments
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

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

  • AdapterExample.java
  • ComparatorExample.java
  • ConstructorExample.java
  • CountingNumberOfCharactersInAWord.java
  • CountingNumberOfWords.java
  • DateAndTime.java
  • DecoratorExample.java
  • DuplicateElementFromAString.java
  • FactoryMethodExample.java
  • FindingLongestStringInArray.java
  • FindingMaxInJava8.java
  • FindingSecondHighestNumberInArray.java
  • FirstDuplicateElementFromAString.java
  • FirstUniqueElementFromAString.java
  • GenerateKeyPairs.java
  • GenerateRandomUsernameAndPassword.java
  • GenericsExample.java
  • GenericsMethod.java
  • IntegerToString.java
  • MethodOverloadingExample.java
  • ReverseString.java
  • ScannerClass.java
  • SingletonCloningExample.java
  • SingletonCloningPreventExample.java
  • SingletonDeserializationExample.java
  • SingletonDeserializationPreventExample.java
  • SingletonExample.java
  • SingletonReflectionExample.java
  • SingletonReflectionPreventExample.java
  • StateExample.java
  • StaticInitialization.java
  • StreamsExample.java
  • StringComparison.java
  • StringExamples.java
  • TryCatchFinallyExample.java
  • UniqueElementFromAString.java

About

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

Topics

algorithm-examplescoding-practicedesign-patternsexception-handlingjavajava-examplesjava-experimentsjava-genericsjava-programmingjava-streamssingleton-patternstring-manipulation

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.