What is the need to declare main() method as static in Java?
Answer Posted / juhi
If main method is static it should not be able to access any
other methods(other than static methods). but this is not
the case y?
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Define network programming?
What is serializable in java?
What is tuple2?
What is the difference between swing and awt components?
How long can a lambda function run?
What does public static void main(string[]) mean?
How do I enable javascript?
How do I run a project in eclipse?
What is csrf in java?
What is the difference between deep copy and shallow copy in java
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.
Spring framework ---Can somebody explain me in easily understandable format about AOP, IOC and DI, so that i can explain in interview rather than just telling what is available in net. I am not able to understand that also. I am new to Spring
What is dialect in java?
What is java persistence api used for?
What is stateless class in java?