y cant i declare method like public final static show()
Answer Posted / raghavendra singh
every method declaration must has one return type(even void)
just before their method name.without return type method has
no meaning.so add some return type also here.
that's why i can't declare method like public final static
show()
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do I compare two strings in word in java?
What is class array in java?
What is volatile keyword in java
What is a singleton in genetics?
Explain about doubly linked list
How do you compare two objects?
Can constructor be inherited?
What is getkey () in java?
What do you mean by checked exceptions?
What defines function?
What is the simpletimezone class in java programming?
What are the drawbacks for singleton class?
What is the difference between method and means?
What is a java applet? What is an interface?
What is mean by collections in java?