DXC Technology interview question

Define Projects. Code in java (Easy)