Develop a Java (C++ is not allowed) program that creates andmaintains a hashfile with the following specifications:
1) record size is fixed. The program must add student recordsconsisting of (name, ID number and major), records gets added fromkeyboard input (student after student) .
2) bucket (bin) size is fixed, number of buckets is fixed(M)
3) hash function is fixed (key mod M) the key is student IDnumber
4) for collision use overflow area ( at the end of the file)
**I’ve asked this questions before and so please don’tcopy/paste the answer from chegg/google for it, this is the secondtime i’ve reposted the question . So Please ask if anything isambiguous and i’ll respond immediately. 🙂