Java objective type questions and answers on static keyword
0
2.Main method is static because to execute main method without creating object By JVM 3.We can overload static methods 4.We can override static methods 5.Can we write static public void main(String [] args)? 6.What is the output of below program ? We will
Popular Articles by this blogger
- Java Jsp Interview Questions

- Method overloading interview questions

- Bitwise Operators in java

- Top 20 Java Exception handling interview questions and answers for freshers and experienced

- Basic Java example program to replace an element at specified index arraylist

- Java Servlet Interview Questions

- Top 16 Java Inheritance Interview questions for freshers and experienced

- Private constructor in java example

