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

Post New Answer

More Java Related AllOther Interview Questions

What is dto in java?

0 Answers  


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.

0 Answers   Sapient,


What's the difference between local, global and universal groups? : java security

0 Answers  


What about products that claim to block java applets at a firewall? : java security

0 Answers  


What is default constructor in java?

0 Answers  






What if I do not provide the string array as the argument to the method?

0 Answers  


I am trying to create a new universal user group. Why can't i? : java security

0 Answers  


What is a flatmap?

0 Answers  


Which instutute is offering course for rhino jain slee

0 Answers  


how we can export all the contacts and messages from nokia mobile to other mobile or pc? (pls answer quickly)

1 Answers  


when a program class implements an interface it must provide behavior for..?

1 Answers  


How do you count in java?

0 Answers  


Categories