Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help me complete the below Java project undefined Create a class Customer with below attributes: int - id String - name String - dob

please help me complete the below Java project

image text in transcribedundefined

Create a class Customer with below attributes: int - id String - name String - dob double - salary String - email int age Make all the attributes private. Create corresponding getters and setters. Create a constructor which takes all parameters in the above sequence. The constructor should set the value of attributes to parameter values inside the constructor. Create a class CustomerDemo with main method Create a static method getOddPositionCustomer in the CustomerDemo class. This method will take Array List of Customer objects. This method returns an Array List with all elements in odd position. Create an Array List of 5 Customer objects in the main method Call the above static method from the main method

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions