Why do we use public static with the main function in Java?
Answer Posted / sai
public is used so that it can be called easily from outside
the scope of function.Static is used so that it can be
easily called without using its object.
Is This Answer Correct ? | 37 Yes | 7 No |
Post New Answer View All Answers
Is ruby built on java?
What is a class object?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
Explain the public class modifier?
What are user defined exceptions?
How do you compare two objects?
What is the use of default method in interface in java? Explain
What is singleton class in ruby?
What is the difference between class & structure?
How do you download stubs from Remote place?
Give us a program to check for parenthesis matching using stack.
What do you know about java?
What is the difference between size and length in java?
Why are data types important?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?