Skip to content

Java objective type questions and answers on static keyword

0
Java objective type questions and answers on static keyword

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

Read this post on instanceofjava.com


Popular Articles by this blogger