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 4 of 4

Thread: Java Programming (Object Oriented Programming) Assignment

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java Programming (Object Oriented Programming) Assignment

    Assign1.pdf

    please help me to done this assignment well


  2. #2
    Junior Member
    Join Date
    Nov 2013
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java Programming (Object Oriented Programming) Assignment

    it is have 3 classes....
    1st class Project, 2nd class Employee and 3rd class DateRec....
    im only just little bit done for class project only....

    import java.util.ArrayList;
    import java.util.List;

    public class Project
    {
    public static void main (String args[])
    {
    private String ProjectName;
    private DateRec StartDate;
    private DateRec EndDate;
    private ArrayList<Employee>EmployeeList = new ArrayList<Employee>(3);


    public Project(String ProjectName, DateRec StartDate, DateRec EndDate)
    {
    this.ProjectName = ProjectName;
    this.StartDate = StartDate;
    this.EndDate = EndDate;
    }

    ArrayList<Employee>EmployeeList = new ArrayList<Employee>();
    EmployeeList.add("Employee 1 name : Azmil ");
    EmployeeList.add("Employee 2 name : Haris");
    EmployeeList.add("Employee 3 name : Ali");

    employee.add(EmployeeList);

  3. #3
    Junior Member
    Join Date
    Nov 2013
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java Programming (Object Oriented Programming) Assignment

    Snapshot.JPG

    please help me to become this as image as i posted..

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,795
    Thanks
    54
    Thanked 2,343 Times in 2,314 Posts

    Default Re: Java Programming (Object Oriented Programming) Assignment

    Please edit your post and wrap your code with code tags:
    [code=java]
    YOUR CODE HERE
    [/code]
    to get highlighting and preserve formatting.

    Please copy the full contents of the error messages and paste them here.

    Do you have any specific questions about the assignment?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Project topic on object oriented programming in java.
    By musa_danjuma in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 30th, 2013, 07:05 AM
  2. Object Oriented Programming
    By cruzer66 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 20th, 2013, 04:02 PM
  3. Object Oriented Programming
    By cruzer66 in forum Object Oriented Programming
    Replies: 0
    Last Post: November 20th, 2013, 03:14 PM
  4. What Exactly Object Oriented Programming is ??
    By diyaots in forum Object Oriented Programming
    Replies: 3
    Last Post: September 10th, 2013, 09:08 AM
  5. Object Oriented Programming
    By calebite207 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 17th, 2012, 12:27 PM