Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: how can i write this program

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile how can i write this program

    can any one tell me the code for this


    i have one company class
    in company i have so many departments
    in each department i have employee

    each employee is divided into project member ,project manager project lead

    i have one test class for department
    when i ask dept test class that go to department it should go there
    and in runtime i have to give number of departments and i have to enter each department employee deatils
    after that it should count employee and i should get number of employees and when i call one method it should count all no of employess in every department and it should give out put total no of employess in all departments and if i give any employee id it should tell that is he/she is project member ,project manager project lead
    please can any one tell me how to stat and do


  2. #2
    Member
    Join Date
    Jul 2010
    Location
    Washington, USA
    Posts
    307
    Thanks
    16
    Thanked 43 Times in 39 Posts

    Default Re: how can i write this program

    Well... First of all you posted this in the wrong section. This section is reserved for teaching or showing code. Second, no one is going to do your homework for you. (for free) If you show a little more effort like posting your current code or showing some errors, then someone might help you. I'm not trying to be rude. I'm just stating the truth.

  3. #3
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: how can i write this program

    Hello lavudyagopi27. Welcome to the forums.

    I have moved this thread to the correct forum...

    Please post any code you have and we can take it from there
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

Similar Threads

  1. [SOLVED] How to write to an application
    By straw in forum Java Theory & Questions
    Replies: 4
    Last Post: June 19th, 2010, 10:17 AM
  2. write object to sql db
    By wolfgar in forum JDBC & Databases
    Replies: 3
    Last Post: May 18th, 2010, 10:03 AM
  3. How can i write this in code?
    By Mr. steve in forum Java Theory & Questions
    Replies: 2
    Last Post: November 30th, 2009, 10:07 PM
  4. How to write above a JPanel
    By bruno88 in forum AWT / Java Swing
    Replies: 4
    Last Post: June 23rd, 2009, 06:16 PM
  5. Someone please help me write a simple program!!!
    By ocean123 in forum Loops & Control Statements
    Replies: 3
    Last Post: June 14th, 2009, 09:46 PM