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
Which is the best book for whole java study?
Expain ur organisation process( V-model)?.
What is default constructor in java?
What is the difference between the boolean & operator and the && operator?
I am new to jsf rich faces. I am using rich faces datatable rich:datatable. On entering the value, values get filtered in table. Now how can i get the value i selected in backing bean?
Can we write lambda without functional interface?
suppose we have one String s="india is my country"; now we get the o/p "like country my is India". what is the logic?
explain isalive() method under thread class?
What is stateless in java?
Where are group policies stored? : java security
What is an action class in java?
Is jdk required for netbeans?