there are 67 seats in train . there are only 5 seats in a
row and in last row there are only 2 seats. One person can
reseve only 5 seat at a time. If person reserving seat ,
the care is atken that he may get all in row. if seats are
not available in row then the arrangement is so that person
group get nearby seats. the following class is given public
class seat { char name; int seat; boolean isSeatempty }
1.Draw require class digram and object diagram. 2.Write
function seatallot(int noofperson) to allocate seat with
seat nuber printed for the each name.
No Answer is Posted For this Question
Be the First to Post Answer
What is jpa implementation?
What is java net url?
What is a java proxy?
What is a singleton in java?
What is the difference between collection and stream?
What is proxy object in java?
Why we use beans in java?
Differences between intermediate operations and terminal operations of java 8’s stream api?
How should I format my code? How should I comment my code?
What is crud operations in java?
If you’re overriding the method equals() of an object, which other method you might also consider?
What is mime in java?