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 entitymanager in java?
What java systems libraries and methods are available for me to use?
What is the meaning of the words public, static and void?
When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in java?
What is stateless class in java?
What is loose coupling in java?
How do I run a java project?
Why are lambda functions called lambda?
Why is javac not recognized?
Which is better openjdk or oracle jdk?
What is the most important feature of java?
What are the advantages of java sockets?