Skip to content

PR for Collections & HashMaps - #2

Open
asad-lodhi wants to merge 2 commits into
mainfrom
collections-hashmaps
Open

PR for Collections & HashMaps#2
asad-lodhi wants to merge 2 commits into
mainfrom
collections-hashmaps

Conversation

@asad-lodhi

Copy link
Copy Markdown
Owner

Request to pull collections-hashmaps branch into main branch

Abstraction inplemented in Abstract LibraryItem class
Inheritance & Polymorphism  implemented in Book, DVD, Magazine classes
Encapsulation implemented in Member class

Other changes include:
renamed App.kt -> Main.kt
added sample data in fun main() to test Book and Member classes
Created Library Class which holds collections of Items by Id, Items by
Category, Members and performs Borrowed Items tracking with HashMaps
@asad-lodhi
asad-lodhi requested a review from Kashif-E August 27, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant