How long can a lambda function run?
Are jvm’s platform independent?
What is Map,List,hashtable,ArrayList and difference between them??
In system.out.println(), what is system, out and println?
What is stateless object in java?
write a code in jsp to swap two numbers?
What is messaging queue in java?
What is transaction management in java?
What is the resourcebundle class?
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.
I get an exception if I remove the static modifier from main?
Why do we only use the main method to start a program?
What are the rules regarding quotation marks?