Answer to Question #3594 in Java | JSP | JSF for Y mukundareddy

Question #3594
2. Write a document what is public; what is static, what is void and main.
1
Expert's answer
2012-03-16T09:26:35-0400
"public" - this is type of access that allows to use outside of class.
"static" is needed to ensure that this element is used, and all objects inherited base classwithout defining this element every time.


type "void" is written in the case when the function returns no results.


"main" - is the main method in which the test is usually the work of other methods and classes.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS