En cours

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:

Databaseclass.

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 .

DatabaseTesterclass.

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é à :

Zo0oka

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)
0.0

21 freelance ont fait une offre moyenne de 65 $ pour ce travail

vano101

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)
6.1
Calleus

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)
5.9
saidmohamed11

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)
4.2
AhmedLabib93

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)
3.9
Pradeepj5061

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)
3.9
ig149

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)
4.5
Baraiya

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)
2.1
lyun8825

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)
1.7
tgogniashvili

A proposal has not yet been provided

100 $ CAD en 0 jours
(2 Commentaires)
1.5
mohammadnuman007

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)
1.7
godsplay

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)
1.4
Pumboo

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)
1.5
MohsanEijaz

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)
0.8
erxgli

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)
0.0
bergseverens

A proposal has not yet been provided

66 $ CAD en 1 jour
(0 Commentaires)
0.0
koramingkoraming

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)
0.0
AbrahemGh

A proposal has not yet been provided

155 $ CAD en 3 jours
(0 Commentaires)
0.0
AimalKhan22

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)
0.0
PrgDvl

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

30 $ CAD en 1 jour
(0 Commentaires)
0.0
majetisrinivas67

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)
0.0