What is the use of static keyword in "public static void
main()"
Answer Posted / sudhir
static is a keyword which indicate that method is call with
the class name.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the new features in java 8? Explain
How many types of assembly languages are there?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
Can a class have multiple constructors?
List two java ide’s?
What is the use of default method in interface in java? Explain
How do you declare a variable?
When should you make a function static?
What is jvm? How its run?
Can we use static class instead of singleton?
How do you compare two strings lexicographically?
Give us a program to check for parenthesis matching using stack.
What are the advantages and disadvantages of object cloning?
What is the difference between procedural and object-oriented programs?
What is the purpose of format function?