Answer Posted / raghavendra
first you write a program in note pad.
after you save the program in "program name.jave"
after you check the java path and save the program correct
location after you start the compliation
compilation method:
javac program name.java
if any errors are generated again check the program and
remove the bugs
finally
java program name
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
When is the finally clause of a try-catch-finally statement executed?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
What are the differences between Java 1.0 and Java 2.0?
Can we define static methods inside interface?
Can constructor be synchronized?
What are methods in java?
What happens if we don’t override run method ?
What is boolean false?
Why we use set in java?
Can we use a switch statement with strings?
What is logical variable?
What are locale settings?
What is a lock or purpose of locks in java?
How do you pass by reference?
Can you sort a list in java?