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
Explain the encapsulation principle.
What is http session in java?
Define network programming?
What is a stream in java?
What is gwt in java?
what are the steps in JDBC connectivity..???
What is map and flatmap?
How do you find lambda?
How do I run a java project in netbeans?
What is stateful in java?
What is the content of the Java 2 security policy file?
Which is the Best institute to do academic Project in Java? Need information about institutes at Ameerpet, Hyderabad.