sandeepnegi1996 / modern-phonebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

project link

CONTENTS OF THIS FILE

  • Introduction
  • Features
  • Todo
  • How to Run

INTRODUCTION

  • Idea of this project is regarding the portfolio for the backend developers and I like coding and building side projects so I thought that will be great [[backend developer projects]]

FEATURES

  • show user a message to enter user details
    • such as name and phone number
  • show option to exit

TODO

  • Create basic java application --> hello world

  • Create basic enter option to details and option to exit

    • 1. one option to enter details
    • 2. one option to exit from it
    • 3. one option to show all the records
    • 4. exit
  • Add new user

  • Display all user

  • Find a user

        //user input

        // 1 --> enter details

        // 2 --> show all details

        // 3 --> find details  

        // 4 --> exit

  • Create functions declaration for all the three tasks
  • store data in a arraylist that too in the form of object, so for that i need one class that is of
  • Create one Class of User type to store user information
    • User type and for now lets only take two fields --> name and phonenumber , and we can phonenumber to find a record since phonenumber will be unique for all users

How to Run

javac PhoneBook.java java PhoneBook

Learning

//override the hashcode method

    //since the datastructure suchas arraylist works in serial fashio

    //but that is not the fast way of doing this

    //so there are some datastrucutre implementation of hashTable and these datastrucuter uses hashcode to

    //to distinguish the elements

About


Languages

Language:Java 100.0%