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
What is difference between abstraction and encapsulation?
Why do we use class?
What is difference between oop and pop?
What is class and example?
What is for loop and its syntax?
What is basic concept of oop?
Why do we use oop?
Which method cannot be overridden?
What is the real time example of inheritance?
What is constructor overloading in oop?
Can an interface inherit a class?
What is pointer in oop?
Why do we use polymorphism in oops?
What is abstraction in oops?
What is the real life example of polymorphism?