in a console we r giving java <class name> if r pressing
enter where it'll goes
Answers were Sorted based on User's Feedback
Answer / srujan jack
it transfers the class name to JVM then the JVM calls main() method using class name.
there fore the main() method must be declared with public & static.....
| Is This Answer Correct ? | 2 Yes | 0 No |
steps to connect with Oracle Databse using TYPE-2 Jdbc driver.
what r callable statement and give their proper use
for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }
What is the purpose of the finally clause?
Can java hashmap have duplicate keys?
how session will be expired?
How does static modifier work?
What is integer parseint?
What are the four versions of java?
What are variable arguments or varargs?
Does java support multiple inheritance or not?
How will you get the platform dependent values like line separator, path separator, etc., ?