Am confused at this PostFix Operator code, pls help.

Hi all,
pls chk this piece of code:
public class Program {
public static void main(String[] args) {
int i = 0;
for (int j = 0; j != 10; j++) {
i = i++;
System.out.println(i);
Its output is 0, can someone pls give a detailed explanation.
Thanx in advance.

I used the double quotes to indicate a literal value,
isn't that the usual way to express that in ordinary writing?
http://onesearch.sun.com/search/onesearch/index.jsp?qt
=i+%3D+i%2B%2B%3B&subCat=siteforumid%3Ajava31&site=dev
&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=deve
loper-forumsThis is surreal ;-)
kind regards,
Jos

Similar Messages

  • Hello, I wonder is there any additional charges applied after I removed my credit card info? I was being charged but i can't login to itunes couldn't check what items was being charged in this case. Anyone pls help, thanks.

    Hello, I wonder is there any additional charges applied after I removed my credit card info? I was being charged but i can't login to itunes couldn't check what items was being charged in this case. Anyone pls help, thanks.

    When the regular customer service reps fail, try one of these:Send an email to the team at "[email protected]". Include:
        Account number
        Full name
        Service address
        Best contact phone number and best time to call
        A description of the problem
    One of their problem resolution specialists should contact you to follow up, usually by phone. They seem to be quite a bit sharper than the regular customer service reps.-OR-Use the feedback form at http://customer.xfinity.com/help-and-support/vp-contact-form.You might also try Twitter (https://twitter.com/ComcastCares/) and Facebook (https://www.facebook.com/Xfinity).
    Comcast sometimes responds to questions here in the forums, and sometimes they do not. When they do the typical response time is somewhere between a few hours and a few days.

  • HT201209 Hi.....Iam having prbs in redeeming apple's gift card on my iPod touch.....I have tried 2 10  dollars cards but all the time it's coming code not valid........I have an apple account without credit card.....is this the prb? Pls help me out wht to

    Hi.....Iam having prbs in redeeming the gift cards in iPod touch....my account is without credit card.....is this the prb???and wht to do pls help thanks

    Since it has always been very basic to backup your computer and all it's data, Apple provides no way for you to transfer music from your iPhone back to your computer.  As you know, you can re-download all iTunes purchases, but music that you ripped yourself you'll have to just re-rip again.
    You can try and find 3rd party applications that might help you.  I'm sure you'll pay, however.
    Let this be a very important lesson learned.
    Best.

  • How is the design for this complex requirement ? pls help..

    Hi All,
    We have a Discount scheme that can be given for all possible
    combination of all customer, area and product hierarchy (attached below).
    for example :
    Promotion No.001 =>for sales on : CustomerGroup 'A', Area 'B', and
    ProductBrand 'C' will get discount 2 %
    Promotion No.002 =>for sales on : AllCustomer, District 'D', and
    Product 'E' will get discount 2.5 %
    Promotion No.003 =>for sales on : CustomerType 'F', AllArea, and
    ProductGroup 'G' will get discount 3 %
    ... and any possible combination.
    And it is possible for an Order / Invoice to get discount from two or
    more different promotion.
    e.g: Order 001, get 2 % from Promotion No.001 and 3 % from Promotion
    No.003, so totally it gets 5% discount.
    (1) Customer Hierarchy
    AllCustomer
    CustomerGroup
    CustomerType
    Customer
    (2) Area Hierarchy
    AllArea
    Region
    District
    Area
    (3) Product Hierarchy
    AllProduct
    ProductGroup
    ProductBrand
    Product
    Our Orders Data has following attributes :
    OrderNo.
    Customer
    Area
    Product
    Gross
    Discount
    Additional info :
    - Oracle version : 10g
    - If multiple discounts are applied, e.g: two discount, 10% each, then
    the total discount is 20%, if gross = 100, then netto is 100 * 80% =
    80.
    The design that comes to my mind is like below, please give me
    correcttion and recommendation :
    The Promotions is defined in master-detail :
    - one master table
    - three detail tables (one for each possible hierarchy)
    - one additional Tabel to store detail of discount an Order get,
    because it can get 2 or more discount.
    PromoHeader :
    - PromoNumber
    - Description
    - StartDate
    PromoDetail1 :
    - PromoNumber
    - PType (ALL / CustomerGroup / CustomerType / Customer)
    - PCode (ALL / 'xxxx' )
    ( note : 'xxxx' can be Customer Group Code, Customer Type Code or
    Customer Code )
    PromoDetail2 :
    - PromoNumber
    - PType (ALL / Region / District / Area)
    - PCode (ALL / 'xxxx' )
    ( note : 'xxxx' can be Region Code, District Code or Area Code )
    PromoDetail3 :
    - PromoNumber
    - PType (ALL / ProductGroup / ProductBrand / Product)
    - PCode (ALL / 'xxxx' )
    ( note : 'xxxx' can be ProductGroup Code, ProductBrand Code, Product
    Code )
    PromoByOrder
    - OrderNumber
    - PromoNumber
    - PType
    - PCode
    - Discount (%)
    (if an Order get two discount, there will be two records on this table
    for thet order)
    The question is :
    1) is this a 'good enough' design ?
    2) if I do go with this design, how is the efficient query / plsql to
    calculate the discounts for an Order.
    Pls help..
    Thank you very much,
    xtanto

    How was your wife using the Find My iPhone app from a Samsung phone? But, that question aside, your wife should educate herself on how GPS works, especially on a cell phone. GPS signals can be interfered with by trees, buildings, clouds. Off by several miles would be unusual, though.
    If your wife is tracking your cell phone and not believing what you tell her, you may want to consider counseling as there are some very serious issues that go way beyond the technology.
    Best of luck.

  • Iam getting error in controlling under kp06 t.code pls help me on this.

    Version 0 is not defined for fiscal year 2010.
    Message no. GP626
    Diagnosis
    The version 0 is not defined in controlling area FAB for the fiscal year 2010.
    You have to maintain the fiscal year-dependent version parameters for all actual versions for which multiple valuation is updated.
    System Response
    The version 0 cannot be used for fiscal year 2010.
    Procedure
    Maintain the fiscal year-dependent version parameters for the version 0.
    Execute function

    hi.
      SPRO > Gen Controlling > Maintain Version > Double click on version "0" . select controlling area setting > Settings for fiscal year.
    kkumar

  • Error in bdc programing code-pls help

    hi friends,
                I was tring to do a bdc program.But it shows me an error. MY bdc program is jus to upload a 2 fields in vendoe master table.
    That is LIFNR,NAME1 field for the new vendors.
    I worked out an execl sheet for this, and jus copied it to the text file by selecting all and  pasting.
    Even then i get an error code that BDC_open does not exits.
    MY code is this, please help me if iam wrong.
    If anyone can help to make it more understandable,I Kindly  request you to try out this program with the screen shot and mail to this id [email protected] would be very thankful for your timely help.
    report Z_PK_BDC
           no standard page heading line-size 255.
    include bdcrecx1.
    parameters: dataset(132) lower case.
    parameters: p_file like rlgrap-filename default
                    'C:\SAP TESTING\p_file.txt'.
       DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
      If it is nessesary to change the data section use the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting - DO NOT CHANGE  ***
    data: begin of record OCCURS 0,
    data element: LIF16
            LIFNR_001(016),
    data element: BUKRS
            BUKRS_002(004),
    data element: KTOKK
            KTOKK_003(004),
    data element: ANRED
            ANRED_004(015),
    data element: NAME1_GP
            NAME1_005(035),
    data element: SORTL
            SORTL_006(010),
    data element: NAME2_GP
            NAME2_007(035),
    data element: STRAS_GP
            STRAS_008(035),
    data element: ORT01_GP
            ORT01_009(035),
    data element: ORT02_GP
            ORT02_010(035),
    data element: PFORT_GP
            PFORT_011(035),
    data element: LAND1_GP
            LAND1_012(003),
    data element: SPRAS
            SPRAS_013(002),
          end of record.
    End generated data section ***
    start-of-selection.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME                = P_FILE
                FILETYPE                = 'DAT'
           TABLES
                DATA_TAB                = record
           EXCEPTIONS
                CONVERSION_ERROR        = 1
                FILE_OPEN_ERROR         = 2
                FILE_READ_ERROR         = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
      IF SY-SUBRC <> 0.
        WRITE:/ 'SY-SUBRC:', SY-SUBRC.
      ENDIF.
    LOOP AT RECORD.
    *perform open_dataset using dataset.
    *perform open_group.
    *do.
    *read dataset dataset into record.
    *if sy-subrc <> 0. exit. endif.
    perform bdc_dynpro      using 'SAPMF02K' '0105'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-KTOKK'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RF02K-LIFNR'
                                  record-LIFNR_001.
    perform bdc_field       using 'RF02K-BUKRS'
                                  record-BUKRS_002.
    perform bdc_field       using 'RF02K-KTOKK'
                                  record-KTOKK_003.
    perform bdc_dynpro      using 'SAPMF02K' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-SPRAS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=UPDA'.
    perform bdc_field       using 'LFA1-ANRED'
                                  record-ANRED_004.
    perform bdc_field       using 'LFA1-NAME1'
                                  record-NAME1_005.
    perform bdc_field       using 'LFA1-SORTL'
                                  record-SORTL_006.
    perform bdc_field       using 'LFA1-NAME2'
                                  record-NAME2_007.
    perform bdc_field       using 'LFA1-STRAS'
                                  record-STRAS_008.
    perform bdc_field       using 'LFA1-ORT01'
                                  record-ORT01_009.
    perform bdc_field       using 'LFA1-ORT02'
                                  record-ORT02_010.
    perform bdc_field       using 'LFA1-PFORT'
                                  record-PFORT_011.
    perform bdc_field       using 'LFA1-LAND1'
                                  record-LAND1_012.
    perform bdc_field       using 'LFA1-SPRAS'
                                  record-SPRAS_013.
    perform bdc_transaction using 'FK01'.
    **enddo.
    **perform close_group.
    endloop.
    **perform close_dataset using dataset.
    Thanks in Advance
    Rinky123

    Hi,
    If you are using GUI_UPLOAD in 4.7 then the file path whatever you are using currently it won't work. Replace the file path like this.
    P_FILE LIKE RLGRAP-FILENAME.
    DATA: V_FILE TYPE STRING.
    V_FILE = P_FILE.
    Now take this v_file for function module.Then only it will open the file otherwise you won't get unable to open file error message.
    I observerd that you are getting so many fields from the file to the internal table.

  • AWT SOURCE CODE---PLS HELP

    Can anyone help me on the how to develop GUI using only AWT..(the source code)
    FIRST SCREEN --> Opening Splash Screen "Application to view log details" with the sub topics "daily transmission Statistics and "Hourly Transmission Statistics" and a ok button at bottom.My own logo in a canvas should be displayed
    2nd screen---> Menu bar has 2 items such as file and help..If a button is pressed before using the File menu to open a file,then a dialog box should appear to tell the user to chose a file before selecting an option.

    Post your completly runnable demo program andget
    a
    complete solution,a runnable one!Alternatively, I will write it for you for $100.I'll lower the bid to $90 :-)I'm going to have to get nasty if you keep undercutting me like this.

  • HTML form..........how can i do this???Pls help

    hi all
    I want to do one typical login page using html,jsp.
    its should display the text .
    Enter your username,
    Enter your password.
    if the user click on the "Enter your username" that text should be disappeared and area should get the user input.
    for the password field also same like this .
    is it possible to implement using Html and Jsp????
    else
    how can we do that ????
    pls give ur valuable suggestions.........
    thanks in advance

    Ah, the input type="password", I didn't realize about that. That makes it tricky.
    Well, create a text field and a hidden field along it. On every key press (use the onkeypress attribute) write to that hidden field and change the character to '*' in the this.value. Or create a hidden password field along it (with CSS set to display: none;) and then onclick hide the textfield and display/focus the password field using JS+DOM by setting it to style.display = 'block'.

  • HT5887 hi , i want to know that my Restriction passcode has been locked it cannot be restore , pls assist ..normal phone code doesnt get open lock of restriction code.pls help

    pls assist on above topic

    Just an update... A rep contacted me and we did a screen share. They were convinced that I wasn't full of <insert proper word here>. They promised to get back to me in a few days, and now? A few months later? Nothing.
    Still no files. Still no correction... Still no nothing from Adobe.
    The person I spoke to was kind, saying he'd make sure I got CC for free for a while...
    Still though, no follow up.
    Adobe, are you going to correct this or just let your customer suffer at your mistakes?

  • Hi this is my requirement pls help me.

    code
    DB_NAME       PR_LOG#    DR_LOG# DIFFERENCE   STATUS     DATE       TIME
    test               10             20              10              error      02-FEB-11  09:04 PM
    test               10               1              20              error      10-FEB-11  09:04 PM
    test               10            20               10              error      02-FEB-11  10:04 PM
    test                5              5                10              error      02-FEB-11  10:04 PM
    test                5              5                  0              error      02-MAR-11  10:04 PM
    test1             10             2                  8              error      02-MAR-11  01:04PM
    test               10             0               10               error      02-FEB-11  09:04PM
    test1             10             0               10               error      13-FEB-11  01:40PMThe above showned is the my actual data
    My Expected Reslut is:
    I want to get the rows like which row that is recently updated/inserted in
    a table and want to get a distinct rows like shown in below
    DB_NAME   PR_LOG#      DR_LOG#     DIFFERENCE     STATUS    DATE         TIME
    test           10                   0                  10                error     02-FEB-11   09:40PM
    test1         10                   0                  10                error     13-FEB-11   01:40PMThanks,
    Sunitha.
    Edited by: BluShadow on 13-Jun-2011 13:40
    added {noformat}{noformat} tags.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Sunitha,
    If you want to format your code, you should enclose it in {noformat}{noformat} all lowercase - tags
    You can use analytics for that:select db_name, pr_log#, dr_log#, difference, status, date_time
    from (
    select db_name, pr_log#, dr_log#, difference, status, date_time
    , row_number() over (partition by db_name order by date_time desc) rnk
    from your_table
    where rnk = 1;
    Regards
    Peter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • HT1918 I have reset a credit card number to a new one, however i still find unauthorise purchase from this credit card. Pls help to stop any purchase from this credit card.

    I have reset my credit card number to a new one, however i still experience unauthorised purchase from this credit card. Would appreciate if you could refrain any purchase from this credit card. Tq
    Zulkefli
    <Edited by Host>

    Welcome to the Apple Community.
    I have asked for your email address to be edited out. Posting your address in an open thread is a sure way to be bombarded by unwanted email, remember it will be here long after you have resolved your problem, for automated detection software to find.
    If you want people to contact you, enable others to see your email address in your profile.
    You should start by changing the password on your account.
    Start here, change your country if necessary and go to manage your account  > Password and Security.

  • Regd. How to install iTunes on Ubuntu operating system , pls help

    Guys - please help me on how to install iTunes on UBUNTU the LINUX operating system

    https://www.google.dk/search?q=linux+get+wine+to+run+itunes&oq=linux+get+wine+to +run+itunes&aqs=chrome..69i57.5368j0j8&sourceid=chrome&es_sm=93&ie=UTF-8

  • I just switch from iphone 3sg to iphone4 now when i download an app on my iphone4 it keeps saying it needs security code whet code pls help me thank you

    so seriously wat is the security code there talking about

    I believe you are correct. I had to replace my phone and it was necessary to enter the (3 digit) security code from the credit card the first time I updated some apps on the new phone. Thereafter only the password was requested.

  • Is this my MAC code?

    Hi.
    I know I can get this from my provider (Tesco) but a piece of diagnostic software on my laptop says that my "MAC Address" is XX-Xy-Xy-XX-Xy-Xy, where X is a number and y is a lower case letter.
    There are two other "MAC IDs" on a label on my wireless router but neither of these is the same as the above. (One is a LAN MAC ID and the other is a WLAN MAC ID).
    Can I safely assume that the MAC Address mentioned in the software is the MAC number required by BT when asking for a switch to their BB?
    Thanks.
    Solved!
    Go to Solution.

    Hi, the MAC code that you quote is not the code required from your ISP, what you have given is the Media Access Control.
    Wiki describes this as " MAC addresses are most often assigned by the manufacturer of a network interface card (NIC) and are stored in its hardware"
    What you need is the Migratory Access Code.
    There is always a lot of confusion with this.
    (If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
    If I have solved your Issue please click the "Mark as accepted solution" button.

  • HT1766 i couldn't play my ipad as there is a window pop-out telling that my ipad hasn't been backed up in 2 weeks. Backups happen when this ipad is pluggud in, locked and connected to Wifi. Pls help to repair and solve this problem

    there is a window pop-out telling me that 'the ipad hasn't been backed up in 2 weeks. Backups happen when this ipad is plugged in, locked and connected to wifi". How to repair or solve this problem? I have tried to plug in the ipad into my laptop, but i cound not solve this problem too. Pls help.
    Thank you.
    Regards,
    Yong

    Do a device reset as outlined below. This will clear the message and allow you to use your device again.
    Device Reset (won't affect settings/data/music/apps/etc)
    1. Press and hold (& continue to hold) BOTH the Sleep/Wake button & the Home button.
    2. Continue to hold BOTH (ignoring any other messages that may show) until you see the Apple logo on the screen.
    3. Release BOTH buttons when you see the Apple logo and allow the device to boot normally.

Maybe you are looking for

  • How do I get apple support without an AppleCare protection plan?

    So I recently had a problem with my Apple ID while still under AppleCare, and it turned out that AppleiD was saved with .con instead of .com. I was told to make a new Apple ID and use this new one for everything, and so I did. I forgot my password fo

  • Multiple file types to PDF

    I have a need to combine images and documents into a single PDF. Using automator, I am able to make an application that combines selected images in the finder into a pdf, but it doesn't work on text documents. So, I found this application that adds a

  • DO porcess for logistics

    Dear all, I am mm consultant .... We need to develop DO (Delivery Order for logistice dept. ) facality from supply location. client requirement is follwing Delivery Challan: This will be generated from depot and will be linked to SO. Every vehicle sh

  • RMAN and Datapump Question

    Hello, Database : 11gR2 I was recently provieded an access to a new database, because users are complaining of poor perfromance. During my monitoring of this database, and using statspack report (because we don't have licensed diagnostics pack), I ha

  • HOW TO RESET E51 ?

    Can anyone tell me how to reset the phone? my keypad is locked and I can't unlock it? help please...........