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 java persistence api used for?
explain isalive() method under thread class?
When do we go for java 8 stream api? Why do we need to use java 8 stream api in our projects?
How do you check if java is installed on windows command prompt?
Which is better openjdk or oracle jdk?
What is http session in java?
what diff bw constructor method & method
What is the java virtual machine (jvm)?
What is lambda used for?
can a program use more than one command-line argument?
Java prints out a ton of digits when I system.out.println() a double. How can I format it so it displays only 3 digits after the decimal place?
What's a code group? : java security