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
Enlist few advantages of inheritance?
What is the difference between variable declaration and variable initialization?
Explain java thread life cycle.
What does sprintf return?
What is blank final variable?
How to change the priority of thread or how to set priority of thread?
What is regex in java?
Write a program to find maximum and minimum number in array?
What is getkey () in java?
What is heterogeneous in java?
Can a class be private in java?
Is passing by reference faster?
What two classes are used to read data only?
What is indexof in java?
Is null a string?