DXC Technology Interview Question

Define Projects. Code in java (Easy)