Answer Posted / shreya
The only required elements of a method declaration are the
method's return type, name, a pair of parentheses, (), and
a body between braces, {}.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is void data type?
How do you sort words in java?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
Explain list interface?
What is binary tree in java?
How do you join strings in java?
What are the restriction imposed on a static method or a static block of code?
What are functions in java?
What is the significance of continue jump statement? Explain with an example.
Can a static method be final?
What is the difference between an argument and a parameter?
What is a vararg?
Which is better 64 bit or 32 bit?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
how we can create packages in java?