-
Junior Member
-
Junior Member
Re: java program
Hi sonu, i am not getting what exactly your asking, you know about javacompiler and java interpreter by using this two java program will run. compiler will do what ever source code you will write that code will be converted into bye code (that is nothing but 0 and 1's) after that interpreter will convert thisbyte code into plotform depending format (that is nothing but what ever OS your using in that format) like this java program will compile and run.
regards,
vardhan
-
Junior Member
Re: java program
You mean to get output from ur java class.
write ur java file lets say
public class sonu
{
some code goes here..
}
then save the as "sonu.java" into some directory
then open the command prompt by clicking start/Run n type cmd.
then go to corresponding directory wher u have saved ur java file
then type javac sonu.java
then type java sonu
it will dispaly the output there itself.Try it urself if u have any question pls revert back.
-
Junior Member
Re: java program
what is diff b/w throw and throws
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules