Simple array project in Java

Write a “database manager” that can store and work with a table of strings. It could be used to store a class list. Your program should consist of two classes:


This class should store the array (table) as a field and provide the following methods:

Database(int size)–A one-argument constructor which accepts the size of the table (array). It should use this size to allocate (create) the array.

add(int index, String value)–Set the value of the array entry at the specified index. print()–Print the contents of the array.

sort()–Sort the contents of the array in ascending numerical order(Hint: use the Arrays class)

find(String value)–Search for a particular string in the array. If it is found print out “Entry found”, otherwise print out “Not found”.

The Database class should not have a main() method .


This class uses and tests your Database class. It should contain just a main method which does the following:

[url removed, login to view] a Database object of size 10. Instead of the actual number 10 you should use a constant (final) field.

[url removed, login to view] the user to enter strings (lines of text) to add to the table. Input 10 strings and add them using the ‘add’ method of the Database class.

[url removed, login to view] out the resulting table using the Database ‘print’ method.

[url removed, login to view] the database by calling the the ‘sort’ method.

[url removed, login to view] the table again to show the sorted strings.

[url removed, login to view] whether the database contains your name using the ‘find’ method.

Don’t use ‘static’ except for the main() method declarationand final fields

Compétences : Java

Voir plus : sort array list in java, sort array in ascending order in c, sort array c, search string in c, search string in array, int size c, list simple java project, simple sample java project, sample java project using array, simple java project start, simple java project database, simple java project script, simple school java project, simple java project code, java project simple

Concernant l'employeur :
( 5 commentaires ) brampton, Canada

N° du projet : #8517138

Décerné à :


hi i am ready to start right now totally free but i have one question what type of database would u like to connect?

35 $ CAD en 2 jours
(0 Commentaires)

21 freelance font une offre moyenne de $65 pour ce travail


Hello, I am few years of experience with Java programming, This projects looks easy for me, there is possible to complete it in several hours.

30 $ CAD en 1 jour
(312 Commentaires)

Hi, I have strong background in JAVA and experience in Programming. Let me help you. I am ready to start.

60 $ CAD en 1 jour
(75 Commentaires)

I'm a talented Developer with years of experience and educational training. I'm willing to work as a team members and also autonomously for your project. If hired by you i will deliver my best work at a high standa Plus

55 $ CAD en 2 jours
(14 Commentaires)

Hello My name is Ahmed, i passed freelancer java exam with top 10% rated plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 3+ years experience. small overview of feedback on my profile “professional , the be Plus

40 $ CAD en 3 jours
(24 Commentaires)

Hello, i can able to produce the result for the project requirement you have given in the description. Waiting for your reply

50 $ CAD en 1 jour
(8 Commentaires)

Java expert here, I have experience of jobs like this. I have done quite a few projects like this before and I fully understand your requirements and I will be happy to do your job.

155 $ CAD en 3 jours
(21 Commentaires)

Hello I am .Net Software Developer working on Web & Desktop applications (C# expert developer) Languages , i can on : C#.Net, VB.Net, Android, Java, C, C++, PHP, Java script, JQuery, Ajax, HTML etc... Database Plus

200 $ CAD en 3 jours
(1 Commentaire)

Hi, client. I have just read your post and was excited with feeling to satisfy you in this project. I have deep knowledge in Data structure and Algorithm. And also i have rich experience in Java, C# programming. IF Plus

55 $ CAD en 3 jours
(2 Commentaires)

A proposal has not yet been provided

100 $ CAD en 0 jours
(2 Commentaires)

i;m able to do this work right now. you just don't need to worry about work at all. just let me know if you are interested to work with me.

70 $ CAD en 1 jour
(4 Commentaires)

Hi I am a java programmer and i am also an android application developer i have experience in working in net beans too I can complete this project within time with all features Hope you hire me Thank you

30 $ CAD en 1 jour
(2 Commentaires)

Hi, I can finish your project within 2 days. I will deliver high quality code. I won't stop before you are 100% happy with my work! Please contact me to discuss further details.

39 $ CAD en 3 jours
(2 Commentaires)

I think I am a good fit for this job because I have all the qualities that you are looking for. Experience is the golden factor in this project where you find in me at least 3+ years of working experiences over all the Plus

35 $ CAD en 3 jours
(1 Commentaire)

I've been working with Java for the last 4 years and have done some similar exercises as projects for some University classes. I estimate that it will take roughly 2 hours to fully develop and test the solution you are Plus

55 $ CAD en 1 jour
(0 Commentaires)

A proposal has not yet been provided

66 $ CAD en 1 jour
(0 Commentaires)

Before hiring someone, check completion rate and portfolio from profile [url removed, login to view] . My completion rate is always 100% and i feel proud for this. you will get lifetime bug fixing service Plus

150 $ CAD en 5 jours
(2 Commentaires)

A proposal has not yet been provided

155 $ CAD en 3 jours
(0 Commentaires)

Hi there. I rate myself capable of doing the task, would love to hear from you, Do reply! Thanks, Aimal

30 $ CAD en 1 jour
(0 Commentaires)

Предложение еще не подано

30 $ CAD en 1 jour
(0 Commentaires)

Hi , I have read the description of your project. I believe I can turn this in by tonight. This is my first bid on this website, but I have been in this industry for the past 6 years. So you can count on me. Pl Plus

55 $ CAD en 1 jour
(0 Commentaires)