Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Question about java api

Options
  • 15-04-2011 3:39pm
    #1
    Registered Users Posts: 2,315 ✭✭✭


    I was just looking into java and came across this question and cant figure it out. Could anyone help me with the answering this?
    What is the function of the Java application program interface (API)?
    Choose more than one option.
    It ensures that Java is platform independent
    It interprets compiled Java code
    It groups software into libraries of related components
    It provides components for the creation of applets


Comments

  • Registered Users Posts: 2,353 ✭✭✭Galway K9


    deceit wrote: »
    I was just looking into java and came across this question and cant figure it out. Could anyone help me with the answering this?
    What is the function of the Java application program interface (API)?
    Choose more than one option.
    It ensures that Java is platform independent
    It interprets compiled Java code
    It groups software into libraries of related components
    It provides components for the creation of applets


    Nice college Question...:rolleyes:

    However..your prob just studying...

    It groups software into ....
    It provides comp......for applications not applets...thats java script.


  • Registered Users Posts: 211 ✭✭CrazyFish


    It's the third option. Its documentation for libraries that you might use while programming. For example if you wanted to do something to a string like capitalize it you might look at the String documentation in the API. http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html

    And then look at the different methods available to Strings and you will come across the toUpperCase() method.


  • Registered Users Posts: 2,353 ✭✭✭Galway K9


    CrazyFish wrote: »
    It's the third option. Its documentation for libraries that you might use while programming. For example if you wanted to do something to a string like capitalize it you might look at the String documentation in the API. http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html

    And then look at the different methods available to Strings and you will come across the toUpperCase() method.

    more than 1?? But yes well explained.


  • Registered Users Posts: 2,315 ✭✭✭deceit


    Galway K9 wrote: »
    Nice college Question...:rolleyes:

    However..your prob just studying...

    It groups software into ....
    It provides comp......for applications not applets...thats java script.

    Its from some notes I got off someone else who studied java. I just taught would look over them too see what java is like. It was missing pages but I found his other notes in another book and you where right with the two thanks :)


  • Registered Users Posts: 211 ✭✭CrazyFish


    Galway K9 wrote: »
    Nice college Question...:rolleyes:

    It provides comp......for applications not applets...thats java script.
    They where not talking about JavaScript in that option. Java has applets which can be used on the web.


  • Advertisement
  • Closed Accounts Posts: 5,482 ✭✭✭Kidchameleon


    3rd and 4th options.


  • Registered Users Posts: 2,315 ✭✭✭deceit


    Thanks guys for all your replies :)


Advertisement