What is the need to declare main() method as static in Java?
Answer Posted / praveena
answer is correct
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Can we write lambda without functional interface?
How do I find jre version?
What is gpt and gpc? : java security
What is the point of lambda expressions?
What is stateless and stateful in java?
Why there are no global variables in java?
What is the use of rs next () in java?
Where is java installed?
How do I start netbeans?
What type of parameter passing does java support?
How does java handle integer overflows and underflows?
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 do we only use the main method to start a program?
Explain the reason for each keyword of public static void main(string args[])?
What happens when you omit a brace or misspell one of the words, like public or