Results 1 to 4 of 4

Thread: java program

  1. #1
    Junior Member
    Join Date
    May 2008
    Answers
    1

    java program

    haow to run java program


  2. #2
    Junior Member
    Join Date
    Feb 2007
    Answers
    10

    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


  3. #3
    Junior Member
    Join Date
    May 2008
    Answers
    2

    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.


  4. #4

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact