why in java first invoke public static void main(String args[])
method????Why not public static void method1(String args[])??
Answer Posted / amit
Becuase the main(String args[]) need not to call by user it
will be call automatically And method1(String args[]) need to
call user.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is polymorphism give a real life example?
What are two types of polymorphism?
How to hide the base class functionality in Inheritance?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Why multiple inheritance is not possible?
What is polymorphism and types?
What do you mean by overloading?
What is the diamond problem in inheritance?
what type of questions
can we make game by using c
What is cohesion in oop?
What are benefits of oop?
Why do we use polymorphism?
What is polymorphism and its types?