Yes, we can write,the change in sequence of modifiers are perfectly valid here. The code will successfully complied and runs properly. Placement of modifiers doesn't matter until the signature contains required keywords.
We can even add final keyword in this, will work and runs fine.
Liked By
Write Answer
Can we write static public void instead of public static void?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
20-Jul-2015