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
What is rxjava2?
What are the advantages of java 8’s date and time api over old date api and joda time api?
Which instutute is offering course for rhino jain slee
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.
How do I run a project in eclipse?
How can one prove that the array is not null but empty?
Explain daemon thread.
What is the difference between Logical Parallelism and Physical Parallelism?
What is mq in java?
Which framework is best for rest api java?
What is the front end for java?
What is explicit casting?
Does jvm maintain a cache by itself? Does the jvm allocate objects in heap? Is this the os heap or the heap maintained by the jvm? Why
What is a java executable jar file?
What is profile in java?