Skip to content

Aniketgudgal/Collection-Framework

Repository files navigation

Collection Framework Examples (Java)

Overview

This repository contains small example programs that demonstrate usage of Java collection classes (primarily ArrayList and Vector). The examples are organized into two folders: Array List and Vector. Each file is a compact, self-contained Java class illustrating a specific operation or pattern.

Repository structure

How to build and run

Requirements:

  • Java JDK 8 or later installed and javac/java on your PATH.

To compile all Java files from the repository root (Windows example):

javac -d out -sourcepath . ListInterfaceExmp.java Array\ List/*.java Vector/*.java

To run a specific example (replace the class name with the one you want):

java -cp out ListInterfaceExmp

Notes and conventions

  • Filenames in the Array List folder contain a space; when referencing them in commands or links, encode or quote the path (e.g., Array\ List/ArrayListClass.java).
  • Some files have .bak copies in the same folders; these are backups and may contain older versions.

Contributing

  • Add small, focused examples that illustrate collection operations clearly.
  • Follow the existing naming pattern and include a short comment at the top of each file describing the example's intent.

License

This repository does not include a license file. If you want to apply an open-source license, add a LICENSE file at the repository root.

If you'd like, I can also:

  • Add a short example README-run script to compile and run a selected example.
  • Standardize filenames (remove spaces) and update imports/build instructions.

Updated README to document the project structure and usage.

About

This repo contains the program of collection framework and basic fundamental concepts with example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages