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 jpa project?

0 Answers  


Do I really have to type in the programs in the book to try them out?

0 Answers  


What is jep in java?

0 Answers  


Is java secure? : java security

0 Answers  


Can a dead thread be started again?

0 Answers  






What is the content of the Java 2 security policy file?

1 Answers  


What is setstring method in java?

0 Answers  


What is meant by annotations in java?

0 Answers  


What are the Advantages of java se 8 new features?

0 Answers  


What is the use of entity class in java?

0 Answers  


how can we create the ui using netbeans,having the code?

0 Answers  


What is a static method?

0 Answers  


Categories