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 meant by swing in java?

0 Answers  


What is injection in java?

0 Answers  


Write a program using call by refernce for two different classes to explain to print whether a given number is automorphic or not.

0 Answers  


What is cache in java?

0 Answers  


Employee has a Passport. here employee is an object and passport is an object, give the class design

3 Answers  






Can the main method be declared final?

0 Answers  


What does el mean in java?

0 Answers  


i have client interview in TCS.client is CITI BANK.how to face it,what type of questions they will ask,please tell send me to kumar525job@gmail.com

0 Answers   TCS,


What is native api in java?

0 Answers  


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

0 Answers  


What do you understand by casting in java language? What are the types of casting?

0 Answers  


Is jpa a framework?

0 Answers  


Categories