When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in java?
938Post New Java Related AllOther Questions
When do we go for java 8 stream api? Why do we need to use java 8 stream api in our projects?
Do I need jdk or jre?
How do I install eclipse?
What is difference between map and flatmap in java 8?
Do I need to install jre if I have jdk?
What is jsr in java?
What does @override mean in java?
Who developed rxjava?
I have deployed a .war file in my application server comprising of struts and hibernate.If i want to change the "dialect" property of hibernate cfg file how can i change(I have only .war file)... Thanks in advance
What is the use of servlet in java?
how can we create the ui using netbeans,having the code?
What is javacpl?
What are the risks in java security? : java security
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.
What is javax annotation generated?