What if I write static public void instead of public static void in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

How do you check if two given string are anagrams?

0 Answers  


What is the purpose of the finalize() method?

0 Answers  


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

0 Answers   Bravura Solutions,


What are void pointers?

1 Answers  


What is JVM ?

4 Answers   Phantom Technologies, TCS,


How to set the Heap size in Java ?

2 Answers   HCL,


What are the two types of streams offered by java 8?

0 Answers  


In what type of containers, Border layout is a default layout?

3 Answers  


What is anti pattern in cyber security?

0 Answers  


List the three steps for creating an object for a class?

0 Answers  


What is functional interface in java example?

0 Answers  


Difference in the use of print, println, and printf.

5 Answers  


Categories