y cant i declare method like public final static show()
Answer Posted / karthi
Return type of the method is missing
ex:
public final static void show(){}
now it ll work.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
If goto and const is reserve words than why it is not work in java?
Can we override a variable in java?
How do you compare characters in java?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
Is array dynamic in java?
What is map in java?
What is the difference between processes and threads?
What class allows you to read objects directly from a stream?
how to create daemon thread in java?
Explain creating threads by implementing runnable class?
Does java allow overriding static methods ?
Explain about method local inner classes or local inner classes in java?
What is constant in programming?
Can we change the scope of the overridden method in the subclass?
What are keywords in programming?