What is an executable class

What is an executable class in java. Can someone explain with an example??

I'd guess a class with a public static void main( String[] ) method.
i.e.
public class Test {
    public static void main( String argv[] ) {
          System.out.println( "BOO!" );
}javac Test.java
it can the be executed with the java command:
java Test
Resources for Beginners
Sun's basic Java tutorial
Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's Thinking in Java (Available online.)
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java. This one has been getting a lot of very positive comments lately.

Similar Messages

  • Hi, i have tryed to install os x leopard, (its a old imac) , disk utility is greyed out , my install dvd cant find any hdd to install on , my only way to format and configure is through terminal but dont know what commands to execute

    hi, i have tryed to install os x leopard, (its a old imac) , disk utility is greyed out , my install dvd cant find any hdd to install on , my only way to format and configure is through terminal but dont know what commands to execute...
    i tryed diffrent commands such as diskutil eraseDisk JHFS+ Disk1
    diskutil list , wont show up my harddrive , i now its functionally cause it shows up in disk utility with name and i can get info about it , but everything is greyed out can only switch between "erase , partition , recover , Raid ,....
    when i click the apple in the top left corner the whole menu is greyed out... what to do ?  help me please
    Sincerly AppleNoob92
    p.s i have no experience in apple imac's at all never used before, but im kinda windows nerd so computers i understand but this imac make my insane, cant seem to find any solutions anywhere on the WWW....

    Your HD may be crashed, so you probably should use the oringinal install discs to run Apple Hardware Test in extended mode. If error codes appear this confirms a hardware failure. In addition you cannnot repair the HD using Disk Utility from the startup disk, you have to use the origninal Install discs that shipped with the computer or the most up-to-date version of OS X on a disc that you have.

  • What business event executes when a Party is updated

    Hi,
    What business event executes when a Party is updated ?
    I tried with
    oracle.apps.ar.hz.Organization.update
    oracle.apps.ar.hz.CustomerProfile.update
    None of these seems triggering when Party information is updated example: Customer Profile, Customer Name itself.
    Thanks
    Saikrishna

    Please see if (Customers Workbench: No Business Event Firing When Activating/Inactivating An Account Contact (Doc ID 1553927.1)) helps.
    Thanks,
    Hussein

  • What is the standard class used to create SALES ORDER in SAP CRM?

    Hello Experts,
    Can anyone suggest me what is the standard class used for creating sales order.
    I have created sales order using the BAPI 'BAPI_SLSTRANSACT_CREATEMULTI' in my report program.
    Now, I have to create sales order using standard classes and methods(my assignment).
    Please suggest the suitable class.
    Regards
    DNR Varma

    Hi Varma,
    You can create crm documents like sales order using BOL interfaces.
    You can check one example at the following thread:
    Create OrderThro BOL
    Check if it helps you a little more.
    Kind regards,
    Garcia

  • To differentiate in the user-exits what transaction has executed first

    Hi,
    I have a problem,
    For transactions Iw32 y iw34 EXIT_SAPLCOIH_006 user-exit  are called up  when a maintenance order is updated
    from any of two transactions.
    I want to differentiate in the user-exits what transaction has executed first (origin) because sy-tcode in both cases contains  iw32 ' because IW38 transaction calls UP always to the transaction iw32 for update of a maintenance order.
    thank´s
    Regards.

    If that is the case, and the IW32 is begin called from IW38 via some batch input mechanism, then maybe this code will work.  You can wrap your code in this IF statement.  Here we are saying that we only want to do this when the tcode is IW32 and it is not being called in batch input(call transaction) or called by another program.
    if sy-tcode = 'IW32'
      and sy-binpt = space
      and sy-calld = space.
    endif.
    Regard,
    Rich Heilman

  • What is an abstract class?

    What is an abstract class and what does it do compare to other classes?
    I'm having some trouble trying to understand it.
    Message was edited by:
    xc100

    s it not obvious that the OP is a worthless troll?Looking at his/her recent posts, I wouldn't say so.
    S/he looks like a newbie who is asking basic
    questions
    and is rather reluctant to follow links or read
    tutorial pages,
    but I haven't seen actual troll behaviour.My first impression was that this was another Charles_Bronson, due to the countless threads that ask basic, open-ended questions.
    Then again, CB never posted any actual code, so who knows?
    One can never know really and it's unfair to judge someone unheard. That's >why I usually start by giving a very brief reply to invite to a dialog.
    And it's not just about replying to the OP. Sometimes a discussion of >general interest develops even from a seemingly trivial question.I see your point. However, the discussions that seem to stem from these types of threads seem to be irrelevant to Java, if you know what I mean.

  • What file types get classed as 'Movies' in Macbook Pro?

    I'm creating space on my Macbook hard drive by moving movies onto a hard drive.  I've moved virtually all of them over, and emptied the trash can.  However a system storage report is still showing 59GB of movies.  What else does macbook class as movies?  Could it class podcasts .mp3 as Movies and count them towards the 59 GB?

    This web site may be a good place to start:
    http://www.fileinfo.com/filetypes/common
    There are other places that you may search on the Internet that may help close the gap.
    Ciao.

  • What is "with execute as caller" in SP?

    What is "with execute as caller" in SP? 
    What is the purpose of this command?
    Thanks in advance.

    Here is the explanation 
    http://msdn.microsoft.com/en-us/library/ms188354.aspx
    CALLER
    Specifies the statements inside the module are executed in the context of the caller of the module. The user executing the module must have appropriate permissions not only on the module itself, but also on any database objects that are referenced by the module.
    CALLER is the default for all modules except queues, and is the same as SQL Server 2005 behavior.
    CALLER cannot be specified in a CREATE QUEUE or ALTER QUEUE statement.
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • What is top level class declaration in java?

    What is top level class declaration in java?

    The declaration of a class that's not nested inside any other class.

  • What  is a mapper class ?

    what is a mapper class?
    it looks like it maps to something ...right ?
    can you provide some example ? this concept is not clear.
    N.B :
    I am giving you some context where i have come accross this term ....i have noticed this , where there are some messaging (JMS,MQ etc ) involved in applications........if the application have messaging , then the project usually contain some mapper kind of class......yes, i know this is not a full information that i can give you...........the point is , have you seen this kind of mapper classes in your project ? what they do ? can you give some outline view what it does basically ......i am interested in this terminology.

    Thanks for the response.
    The "mapper" classes do you usually convert/map from
    one format to another by mapping values. you told "format".
    uhh....ok....suppose i have a XML message(complient to XSD1) which lies in JMS queue(suppose) ....does a Mapper class tears this XML message and then again build another XML Message (complient to XSD2) ......is it like this ? is it the job of a mapper class ? does it simply makes a new different format from a given format ?
    E.g. data
    from your model should be mapped into fields in a
    predefined message format.ahh....so, if i have a javabean(data model) with many properties then a mapper class takes these properties and puts these in the appropriate fields of a predefined message format.
    anything else involved here ?
    In fact , i was looking for mapper classes who are involved in messaging
    Kaj

  • What happens to abstract classes now?

    As we can write default implementations to the methods in a interface, what happens to abstract classes now?

    just because you can doesn't mean you should. And this is a clear case of you should not.
    Allowing implementation in interfaces is a dirty hack they needed to put in to be able to bolt on some of the other stuff without breaking forward compatibility with existing code.
    That doesn't make it a good idea, in fact it's a pretty good indication that the stuff they hacked in this way is itself not a good idea.

  • Executing class files

    Pls help I got following error while executing class file.
    Exception in thread main java.lang.NoClassDefFoundError : main
    Edited by: Mubin_Attar on May 19, 2008 6:34 PM

    Mubin_Attar wrote:
    Pls help I got following error while executing class file.
    Exception in thread main java.lang.NoClassDefFoundError : main
    Edited by: Mubin_Attar on May 19, 2008 6:34 PMIt appears that you typed "java main" or something like that, which means you have a file named "main.class". This is telling you that you don't have such a file.

  • What is file extension .class?

    I am new to java and want to know what the file extension .class is and how do I open and edit a file with this extension?

    .class files are created by the compiler from .java file, which is your code... if you're new to java, you probably don't want to open and edit your .class files. If you want to make changes to your program, open the .java and recompile.

  • What is Oracle Java Class Type?

    Hi,
    I read a oaf coding stand document.it said that "Can not use database Java(Oracle Java Class Type)".do anyone know what is Oracle Java Class Type?
    Thanks & Regards
    binghao

    Are you using the internal converer?
    <af:inputText value="#{bindings.MyClobContent.inputValue}"
    label="#{bindings.MyClobContent.hints.label}"
    converter="oracle.genericDomain"
    required="#{bindings.MyClobContent.hints.mandatory}"
    columns="#{bindings.MyClobContent.hints.displayWidth}"
    maximumLength="#{bindings.MyClobContent.hints.precision}"
    shortDesc="#{bindings.MyClobContent.hints.tooltip}"
    id="it2" rows="10">
    <f:validator binding="#{bindings.MyClobContent.validator}"/>
    </af:inputText>
    If it does not work, create & use custom converters as mentioned in the above thread.
    Thanks,
    Navaneeth

  • Executable class :)

    Hallo,
    I have tried to make class files executable for Windows.
    I have only tested it with Windows XP. Could you test it and give any feedback?
    Thanks.
    http://studwww.ugent.be/%7Emsoyturk/cgi-bin/p.pl?in=javastarter

    Hmm, I't's a simple thing (for newbies, maybe)
    It doesn't handle packages. I didn't think about that :(
    The first argument of JavaStarter should be the path of the executable class.
    It runs this class with the help of reflection.
    JavaStarter is called for each class file (regedit)

Maybe you are looking for

  • Sharing & permissions suddenly read only on files and folders

    Almost all folders and files including home folder have suddenly had their sharing and permissions privileges switched to read only No indication of why this happened. Tedious to go through each item, enter password, add parties and change to read an

  • Mapping question

    Hello, I have a rather simple question regarding a mapping. Lets say my input message is as following: <mes1>    <seg1>       <name1>Peter</name1>       <street1>HighCrt</street1>    </seg1>    <seg2>       <name2>Vlad</name2>       <sub2>Trickst</su

  • Can I retrieve the version information in the mxi file using the C   sdk?

    Hello I am trying to find a way to get the version information that is available in the zxp package from within the C++ code (I have a mixed C++ / html - JS) plugin In the mxi file there is e.g.   <macromedia-extension id="..." name=".." version="0.1

  • New Billing Charges

    We received our March bill and it was $13.00 higher than last month. The increase came from the $1.99 DTA box which was given to us FREE several years ago , $9.95 charge for HD Additional Outlet Svc. and the increase in taxes , surcharges and fees. I

  • Dymob 450 Turbo labelwriter changes page widths and now only prints webpages as labels

    I am running 3.6.8 on a pc-based desktop. I print using a brother 2100 laser printer. I installed dymo 450 turbo labelwriter yesterday. I tried to print a webpage using firefox and it has truncated the page to the width of the labelwriter. I've gone