What is a context in java?
What happens when the parent process of a child process exits before the child ?
Explain the reason for each keyword of public static void main(string args[])?
What's the difference between code-based security and role-based security? Which one is better? : java security
What is mdb in java?
How do I create an executable jar file?
What is stateless and stateful in java?
In hibernate what is the difference between the Session and SessionFactory?
Are streams faster than for loops?
What is xml file in java?
Why java?
What is tuple2?
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.
Why is class forname used in java?
can a program use more than one command-line argument?