Does "public final MainClass  " work or not?

As i declare my main class which has main method as public final Mainclass,what happen???

Chicon wrote:
Hi makpandian,
Nothing special. You simply make MainClass immutable. That means you can't build another class that extends MainClass.
Its main method will work.Please note that "immutable" means you can't change its internal state and has nothing to do with whether a class is final or not.

Similar Messages

  • Why does my final cut pro is not responding every time I open it????!!!!!!

    why does my final cut pro is not responding every time I open it?

    As you give no background info nobody can possibly guess.
    However, have you tried trashing the preferences?
    Many weird things happen as a result of corrupt preferences which can create a vast range of different symptoms, so whenever FCP X stops working properly in any way, trashing the preferences should be the first thing you do using this free app.
    http://www.digitalrebellion.com/prefman/
    Shut down FCP X, open PreferenceManager and in the window that appears:-
    1. Ensure that only  FCP X  is selected.
    2. Click Trash
    The job is done instantly and you can re-open FCP X.
    There is absolutely no danger in trashing preferences and you can do it as often as you like.
    The preferences are kept separately from FCP X and if there aren't any when FCP X opens it automatically creates new ones  .  .  .  instantly.

  • Why does my CF port work but not my SD

    I have been fudging with my machine for days trying to figure this out. the CF port works great when I put a card in it but if I put a card into my SD slot and click on the drive in explorer it says 'please insert a disk in drive E:'. I have done all the latest updates and cannot figure this out. Could I have a dead SD port? Any ideas would be great.

    the card reader will show as two removable drives, one for the CF reader and one for the SD/MS/MMC reader
    if you only have one removeable drive listed, then try unplugging the connector from the mobo and reconnecting that usually does the trick

  • Does the ActiveX Bridge work if not C++ installed?

    I've been reading the ActiveX Bridge developer guide at
    http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
    and it seems that you must have Visual C++ installed to run the packager.exe to create a dll. I kind of wasn't sure whether to believe that so I tried the Person tutorial (thanks scsi-boy) at
    http://www.reallyusefulcomputing.com/java/activex/tutorial.php
    and tried tweaking it to use the new 1.4.2 packager but I got the error
    C:\j2sdk1.4.2\bin>packager -reg c:\PersonBean.jar Person
    Failed to generate type library, missing midl.exe.which gives me the idea that I really do need C++ installed to run this (I'm guessing midl.exe is part of C++) - bit of downer when we only have VB.
    Can this really be true? Have any VB people got it working out there?

    packager.exe depends on the tools available with Visual C++, and therefore you must have it installed to make the packager work. Visual C++ IS NOT required to execute the bean, only to run the packager.exe.

  • How to execute Update Module FM after final commit work for a T-code.

    Hello Folks,
    I have a bit complex issue with my current object.
    We have modified MM41/MM42 transactions and added a subscreen to fulfill the requirement.
    We have designed the subscreen and embedded the same to MM41/MM42 through SPRO configuration.
    Now for update business logic,i am trying to execute one Function module(Update Module) in update Task...so that it will be executed once after the final commit work will be done for MM41/MM42.
    But its not executing.
    To fulfill my requirement i need to execute the FM only after Final Commit work for MM41/MM42.
    Please suggest in this regard.
    Even i can see few BADI's which are triggering through MM01/MM02 but not through MM41/MM42.
    BADI_ARTICLE_REF_RT
    BADI_MATERIAL_CHECK
    BADI_MAT_F_SPEC_SEL
    Code with which i am trying is given below.
    After PAI event of the subscreen---
    1:        MODULE USER_COMMAND_9001.
    2:       MODULE user_command_9001 INPUT.
                        PERFORM sub_save_mara ON COMMIT.
              ENDMODULE.
    3:       FORM sub_save_mara.
                         CALL FUNCTION 'ZMMUPDATE_MARA_APPEND_STRUCT' "IN UPDATE TASK
                                        EXPORTING
                                                 materialno = gv_matnr
                                                 appendmara = ty_zzmara.
             ENDFORM.                    "sub_save_mara
    4:                FUNCTION zmmupdate_mara_append_struct.
                      ""Update Function Module:
                       ""Local Interface:
                      *"  IMPORTING
                   *"     VALUE(MATERIALNO) TYPE  MATNR
                   *"     VALUE(APPENDMARA) TYPE  ZZMARA
    Data Declaration for Local use
      DATA : w_mara TYPE mara.
    Selecting the latest values for the material.
      SELECT SINGLE * FROM mara INTO w_mara WHERE matnr = materialno.
      IF sy-subrc = 0.
      Move the ZZMARA values to structure MARA
        MOVE-CORRESPONDING appendmara TO w_mara.
      Update the values in table MARA.
        MODIFY mara FROM w_mara.
      ENDIF.
    ENDFUNCTION.
    Kindly suggest.Thanks in advance.
    Regards
    Ansumesh

    Hi..
    The code given by me will work fine provided the Final commit should happen.
    Because to execute FM with update task,final commit work should happen which is mandatory and after that it will call the update task.
    In my case final commit work was not happeneing because..SAP standard program was not able to detect wether there is any change in my sub-screen or not as the standard program & my custom program,subscreens are different.
    As it was not able to detect the change,so final commit was not happening and hence update task also.
    To provide the reference of change in my subscreen to standard program ,i set a flag as per the change in the subscreen
    And exported the same to memory.
    Then Implemented one enhacement spot in MATERIAL_CHANGE_CHECK_RETAIL Fm where i have Imported the flag value.
    Based on my custom flag value,i have set one standard flag FLG_AENDERUNG_GES which tells SAP standard program for MM42 wether any change has happened or not.
    The above solved my purpose.
    Regards
    Ansumesh

  • Does final method works like a inline function???

    Hi,
    in c and c++ we have macro and inline functions.
    In java u can not override final methods but My query is
    Does in java final methods wroks like inline methods ?
    Inline means the method call is replaced by method body at compile time so logically it improves the performance.
    I would like to know if final method works like an inkine method up to what extend it really improves the performance.
    Thanks in advance

    It depends.
    In Java it's mostly the VM (the JIT compiler, to be more exact) that handles the optimization. It may or may not inline methods, depending on which gives better performance.

  • After doing a widows update itunes will not work at all

    after doing a widows update itunes will not work at all

    hiya!
    I get the itunes has encounterd a problem and needs to close, sorry for the inconvenience error, no specific error number. I do not have QT installed,
    not having QT installed is what will be causing your itunes error message at the moment. let's try a careful standalone QT 7.1 install.
    download and save a copy of the QT 7.1 standalone installer to your hard drive. (we'll run the install from there rather than online.) switch off antivirus and antispyware applications prior to the install.
    Quicktime 7.1 Standalone Installer
    if that install goes through okay, does your itunes launch properly again?
    (if you get an error message on the QT standalone reinstall, let us know what it says. include error message numbers if you're getting any.)
    love, b

  • I have an older iMac 5,1 and the disc drive no longer works. I was hoping that I could the Apple USB super drive as a replacement, but the info on the super drive page says compatible with iMac 2012 or later. Does anyone know why it would not work for me?

    I have an older iMac 5,1 and the disc drive no longer works. I was hoping that I could the Apple USB super drive as a replacement, but the info on the super drive page says compatible with iMac 2012 or later. Does anyone know why it would not work for me?

    A reply to similar question (Q & As , in product page Apple Store) says:
    "...dissable the internal reader hardware from devices setup. Then plug the external usb superdrive and that's it."  Answered by Enrique T from Lima Oct  25 2013.
    If you can locate an external Apple USB 'Air" superdrive for earlier model MacBook Air, that should work. The newer one for the Air is the same as for iMac, now.
    You may be able to use other brands of external USB optical drive with your older intel-based iMac, as some of them function capably. A few should also be able to see system discs or other bootable utilities on DVD.
    Hopefully this helps.
    Good luck & happy computing!

  • Does DML error logging work only on local DB and not remote DB?

    (A) does not log the errors but (B) does log the errors.
    Does the LOG clause work only on a local database and not a remote database?
    A)
    begin
    INSERT
    INTO
    "PRISM"."TARGET"@"DBLINK"
    (INVOICE_NUM
    ,INVOICE_AMOUNT)
    VALUES
    ('GHI'
    ,'GI')
    LOG ERRORS INTO "PRISM"."ERR$_TARGET"@"DBLINK" (1000) REJECT LIMIT unlimited
    end;
    B)
    begin
    INSERT
    INTO
    "PEER_TARGET"
    ("INVOICE_NUM",
    "INVOICE_AMOUNT")
    VALUES
    ('GHI'
    ,'GI')
    LOG ERRORS INTO "ERR$_PEER_TARGET" (1000) REJECT LIMIT unlimited
    end;

    Oracle has come back to us saying that
    "DML error logging feature is not supported for distributed DML."

  • My IPad just froze when i was doing my work, its not responding now, i didn't hit it and it is brand new

    my IPad just froze when i was doing my work, its not responding now, i didn't hit it and it is brand new

    thank you so much, i just tried it and i worked.

  • Why does the clone stamp work when I go from a darker colour to a lighter colour but not the other way around. How can I lighten up a dark area? Lasso tool takes from the wrong area too.

    Why does the clone stamp work when I go from a darker color to a lighter color but not the other way around? How can I lighted a dark area? The Lasso tool takes from the wrong area.

    c.pfaffenbichler wrote:
    Why do you use the Blend Modes Lighter and Darker at all in this case and not simply Normal?
    And what kept you from posting a screenshot?
    I borrowed the image below for an HDR workshop I ran at the 2010 PSNZ National Convention, to demonstrate a method of removing halos.  You'll remember that halos were a serious problem with early HDR, and while the halos in this image were caused by over sharpening, they are perfect for demonstrating this technique.
    It relies on the fact that halos so often tend to put a lighter tone between the two areas where sharpening is being applied. Whether that is the sky abutting a dark line of hills, or the rock and little tower as in this image.  I've uploaded it at the size it was supplied to me at (about 2700 pixels wide).  So
    Click to open the full image, right click and copy, and paste into Photoshop.
    Select the clone tool, and set its blend mode to Darken.
    Try to sample on a line horizontal to where you want to clone, to give the best tonal match, and start cloning.
    Because the sky is darker than the halo, it overwrites it. But the rock is darker than the sky, so it has no affect.
    It works even better if you clone on a new layer also set to Darken.  No masking, just Photoshop blend mode magic.
    You can also fix the little tower. Use a great big brush — just remember to sample horizontal to match the horizon.
    Back then I was using the same trick with CAs after forgetting to fix them in ACR, and having done too much work to start again after spotting the problem.

  • Does back ground jobs work process go to private mode or not

    Hi Experts,
    Can any one tell me
    Does back ground jobs work process go to private mode or not
    Thanks and Regards
    Dan !!

    Hi Dan,
    I do not think background work processes would go into PRIV mode.
    the orginal information was remove by Admin because provided by Cut and Paste from SAP Online Help.
    you will find it <a href="http://help.sap.com/saphelp_47x200/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/frameset.htm">here</a>
    The distribution, participation in distributing or otherwise sending of this material is against the law. The material you are requesting is copyrighted material and available ONLY to customers of SAP. If you need such documents from the SAP Service Marketplace then you must have "S" user ID and login yourself to retrieve this material. If you do not have a "S" user ID then you should contact your own internal company groups responsible and request one or request them to retrieve the document for you.
    By participating and sending such documents you are at risk for legal action and a removal of your account here on SDN and BPX.
    DO NOT send material via email such as this! Further actions will result in officials within your company and your SAP Sales Account being notified and could result in legal action against you as an individual.

  • In formcentral, why does the "proceed to checkout" button not work? on IE I get error " This content cannot be displayed in a frame...

    In formcentral, why does the "proceed to checkout" button not work? on IE I get error " This content cannot be displayed in a frame. To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame ". On Chrome I get nothing but loading.

    Hi,
     This error is generally specific to Internet Explorer and has two possible causes. The most likely explanation is that your browser has unusual browser security settings. I would recommend you try
    resetting your security settings to defaults (varies by version but all essentially the same). You may also have to turn off
    Protected Mode which is enabled by default on some systems. If you’re seeing this error (or a version of it) outside Internet Explorer, you may have a server-level setting that is preventing your content from being framed.
    Reference:https://social.technet.microsoft.com/Forums/exchange/en-US/1460c5a5-6242-4402-9f6b-bc581bf56478/content-cannot-be-displayed-in-a-frame-when-trying-to-add-item?forum=sharepointgeneral
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • After doing last Mavericks update, Messages is not working properly

    Since yesterday, after doing last Mavericks update, Messages is not working properly - the Dock icon is not bouncing nor showing any number for new messages. Very annoying, since I usually have Messages on background while working and I now i don't realize if people is chatting me unless I open the messages wondows.

    Hi,
    Check System Preferences > Notification is set for Messages
    In Messages > Preferences > General Section change the Sound option for Message Received.
    Restart the app and test this sound is (still) playing.
    Place app in background an iMessages "yourself" form your iPhone.
    Does the sound Play ?
    10:18 pm      Wednesday; November 13, 2013
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • HT4993 why does my internet not work when not connected to wifi?

    why does my internet not work when not connected to wifi

    Hi farmgirl0812,
    Thanks for using Apple Support Communities.  This article has steps to try if you are unable to connect to a cellular network:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    - Ari

Maybe you are looking for

  • SINGLETRANSACTION=1 / WEBGUI=1 parameters & CAT2 service

    Hello!! I have the following configuration: ~WEBGUI     =1 ~RECORD=1 ~SINGLETRANSACTION=1 ~TRANSACTION=CAT2 ~NOHEADEROKCODE=1 ~WEBGUI_THEME=sl ~THEME=sl ~WEBGUI_ICON_TOOLBAR=2 ~WEBGUI_SIMPLE_TOOLBAR=40 It's ok, but I have a BIG problem with the ~SING

  • Installing J2SE 1.4.2_05 on Windows 2000

    Hi all, I have been trying to install J2SE 1.4.2_05 on Windows 2000, ( the program for installing the same had been downloaded from java.sun.com site) the size of the file which i downloaded was of 356Kb. When i tried to install the same i got an err

  • Upgrade of GRC 5.2 to GRC AC 5.3

    Hello, During an upgrade of GRC AC 5.2 to GRC AC 5.3, when we uninstall GRC AC 5.2 and install GRC AC 5.3 on the same server, 1- Do we lose all existing configurations of GRC 5.2 eg. workflows, connectors, rule sets etc and will I lose existing reque

  • WF Error: Object CL_HRASR00_WF_COMPONENTS method WI_EXECUTION_VIA_R3_INBOX

    I am using the standard task 17900100 to allow a manager to 'edit' an adobe form (not just approve or reject). The issue below does not occur every time but sometimes there is an error in the workflow log. The error message is as follows: Object CL_H

  • SUN Java Directory Console 5.2 version

    How can i display entries in the CONSOLE in sorted order?