What is http session in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is stateless in java?
Is jdk an ide?
What is class path in java?
What is a stream in programming?
How the java is platform independent?
What do you understand by casting in java language? What are the types of casting?
What is the singleton class in java?
What is the need to declare main() method as static in Java?
Can you compile java into exe?
What is spliterator in java se 8?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?
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.