• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Java Help Program  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me build this program .....
Suppose a company has an administrator, managers and employees
The administrator has the authority to add the managers, provided that the following information is taken - Name ... Number ... Mobile number ... Email ... Status (active .. inactive) ... This is for the manager
Second Manager ... has the authority to add employees provided that the information for each employee ... Name ... Number ... Status ... Salary ... Email.
Final Note ... I hope you will have the program accept the registration of a large number of staff and managers
It is desirable to have the OOP programming model in Java
I will be grateful to your very much
 
Sheriff
Posts: 24380
55
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mohammed, welcome to the Ranch!

What kind of help are you looking for? I hope it isn't "Please write this program for me" because this isn't a free programming site, it's a learning site. So what do you have so far and what are you stuck on?
 
Mohammed Samour
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not ask to write the program completely but I want to store the variables in the list of an array and these variables to more than a user using the oop in Java and apologized to you for the non-tactful way to ask the last question Please forgive me and you all the respect and respect
 
Bartender
Posts: 2232
94
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Coderach, I hope you find answers to all your queries here !
I suggest you answer what Paul asked here:

Paul Clapham wrote:...So what do you have so far and what are you stuck on?


I suggest that you can first read our own site links:
ShowSomeEffort <-- It's a link
NotACodeMill <-- It's a link
HowToAskQuestions<-- It's a link

Let me give you some code to start with :
 
Mohammed Samour
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is grateful to you for you will help me:
See the code for how to add a manager
Let's say you entered ID: 12018 and name: mark
Then enter number 1 again and set up a new account
For example, ID: 12019 and name: Jack
Then you enter the number 2 and choose Make sure the manager is there.
You entered ID: 12018
The problem here is why the program did not print a saved message successfully
How to solve this problem and thank you for helping me
 
Mohammed Samour
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Execution sentence
 
Marshal
Posts: 64179
215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Thank you for using the code button in your first post, but you didn't quite get it right. Don't worry: just this once I have corrected your use of the code button; please read this link (same link as before).
I am afraid your method won't work. Why is the id a field of the Admin class? After the method runs six times, how many elements will there be in the List?
Many of your names are incorrect, I am afraid.
 
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!