Ask for help! I am new for JWSDP

After I run the jwsdp-1_4-windows-i586.exe program and installed the Java WSDP 1.4 sucessfully, I can't
find the examples directory under the <JWSDP_HOME>/docs/tutorial folder, Why? How can I get the examples?
In the addition, I try to integrate JWSDP with tomcat 5.0.18, I got the error "Missing argument" when I run
the jwsdpontomcat.bat script under C:\jwsdp-1.4\jwsdp-shared\bin foler, how can I integrate the tomcat?
please help me!

Hello
I found the same thing as you
I downloaded the jwstutorial14 tutorial and it does not contain the examples we are looking for
I then found jwsdp-1_4-windows-i586.exe and downloaded it. It has some examples in it
I have not been able to work through if it has all that we need however
I still have to go through all the ant stuff and build the programs to see if It contains everything
i

Similar Messages

  • Would be grateful for help configuring my 7950gx2 for dual monitor

    Hi guys,
    I have two monitors - one widescreen TFT 20" DVI (max 1680x1050), and one 17" TFT Analog (max 1280x1024).
    Currently I'm running just on my widescreen monitor, but would love to have both monitors enabled to facilitate my spare-time web design.
    I have an nVidia 7950GX2 - the card is essentially two 7900GT(X)s SLI'd together. So it is a multi-GPU card, rather than me having two separate graphics cards in my system.
    I've followed the Arch Wiki info regarding nVidia drivers, and have the drivers operating perfectly right now. But no matter what I do, even if I follow the Gentoo Wiki info on dual monitors, I can't get both monitors to operate; it's either one or neither.
    Here's my current xorg.conf :
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "dbe"
    Load "record"
    Load "xtrap"
    #Load "dri"
    Load "glx"
    Load "extmod"
    Load "type1"
    Load "freetype"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc104"
    Option "XkbLayout" "dvorak"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    Identifier "Analog TFT"
    VendorName "Blue Mountain"
    ModelName "MT17XP"
    EndSection
    Section "Monitor"
    Identifier "Widescreen DVI"
    VendorName "LG"
    ModelName "L204WT"
    EndSection
    Section "Device"
    Identifier "Card0"
    Driver "nvidia"
    VendorName "nVidia Corporation"
    BoardName "Unknown Board"
    BusID "PCI:6:0:0"
    Option "NoLogo" "True"
    Option "MultiGPU" "AFR"
    Option "sli" "off"
    Option "RenderAccel" "true"
    #other options I recommend:
    Option "HWcursor"
    Option "CursorShadow"
    Option "CursorShadowAlpha" "32"
    Option "CursorShadowXOffset" "3"
    Option "CursorShadowYOffset" "3"
    #if you want Composite and GLX (they don't cooperate):
    Option "AllowGLXWithComposite"
    #the TwinView stuff
    Option "TwinView" "true"
    Option "MetaModes" "DFP: 1680x1050, CRT: NULL"
    Option "TwinViewOrientation" "DFP RightOf CRT"
    Option "TwinViewXineramaInfoOrder" "DFP"
    Option "HorizSync" "DFP: 30.0 - 83.0; CRT: 31.5 - 80"
    Option "VertRefresh" "DFP: 56.0 - 75.0; CRT: 56.0 - 75.0"
    EndSection
    Section "Device"
    Identifier "Card1"
    Driver "nvidia"
    VendorName "nVidia Corporation"
    BoardName "Unknown Board"
    BusID "PCI:5:0:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Analog TFT"
    EndSection
    When I change
    Option "MetaModes" "DFP: 1680x1050, CRT: NULL"
    to
    Option "MetaModes" "DFP: 1680x1050, CRT: 1280x1024"
    I still only get my widescreen coming on.
    When I change
    Option "TwinViewXineramaInfoOrder" "DFP"
    Option "TwinViewXineramaInfoOrder" "DFP, CRT"
    then only my widescreen comes on again. Swapping the arguments means only my small TFT comes on.
    I'd be very grateful for help fixing this; I'm happy to follow any instructions you want, so I'll just be patient and wait for orders
    - KD

    I took the liberty to modify the relevant parts of the original xorg.conf file based on mine (I have a TwinView setup, but with identical monitors). Since bwalk has a similar setup to yours, you should try that first. If you still have problems for some reason, you can try the sections below.
    I assume that the HorizSync and VertRefresh values are correct for your system, so I just used the original values as well (if you didn't set them, you might want to double check just to be sure). I commented out certain lines that seemed to be set by the program that created the config file, so if you need them, uncomment them...I just wanted to clean it up a bit. Again, understood that the CRT is on the left and the DFP is on the right, so that's how the MetaModes are declared. If it's the other way around, you will have to swap the value sets. I also assume that the DFP is your main monitor, so I set the CRT to NULL for any situation that requires it.
    I'm not certain about the Screen section. Since so much info is declared above it, you might be able to eliminate the SubSection part, but I'm not sure. I hope you get it working.
    Section "ServerLayout"
    Identifier "Server0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Device"
    Identifier "Card0"
    VendorName "nVidia Corporation"
    BoardName "Unknown Board"
    BusID "PCI:6:0:0"
    Driver "nvidia"
    Option "NoLogo" "true"
    Option "RenderAccel" "true"
    Option "MultiGPU" "AFR"
    Option "sli" "off"
    Option "TwinView" "true"
    Option "TwinViewOrientation" "RightOf"
    Option "MetaModes" "1280x1024,1680x1050; NULL,1680x1050"
    Option "ConnectedMonitor" "CRT-0, DFP-0"
    Option "UseEdidFreqs" "false"
    Option "HorizSync" "CRT-0: 31.5-80; DFP-0: 30-83"
    Option "VertRefresh" "CRT-0: 56-75; DFP-0: 56-75"
    # Option "HWcursor"
    # Option "CursorShadow"
    # Option "CursorShadowAlpha" "32"
    # Option "CursorShadowXOffset" "3"
    # Option "CursorShadowYOffset" "3"
    # Option "AllowGLXWithComposite"
    EndSection
    Section "Device"
    Identifier "Card1"
    Driver "nvidia"
    VendorName "nVidia Corporation"
    BoardName "Unknown Board"
    BusID "PCI:5:0:0"
    EndSection
    Section "Monitor"
    Identifier "CRT-0"
    VendorName "Blue Mountain"
    ModelName "MT17XP"
    HorizSync 31.50 - 80.00
    VertRefresh 56.00 - 75.00
    Option "DPMS"
    EndSection
    Section "Monitor"
    Identifier "DFP-0"
    VendorName "LG Electronics"
    ModelName "L204WT"
    HorizSync 30.00 - 83.00
    VertRefresh 56.00 - 75.00
    Option "DPMS"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "CRT-0"
    DefaultDepth "24"
    SubSection
    Depth 24
    Modes "1280x1024" "1680x1050"
    Viewport 0 0
    EndSubSection
    EndSection

  • Hi! I'm Steven Baule, looking for help transfering to new comp

    Hi Guys,
    My name is Steven Baule and I was hoping someone here could point me in the right direction. I purchased a new computer and I want to transfer photoshop to the new one. Anyone have any suggestions?
    Thanks!
    Steven Baule

    Just as Gene said.
    If you aren't going to use it on your old computer, you may deactivate the old install (Help>Deactivate). You can have Photoshop activated on two computers at one time. By deactivitivating you will free up the second activation. Do this after the install and activation on your new computer (as a precaution).
    Benjamin

  • Please help with this bapi for creating billing document

    I want to create a billing document using the bapi:  BAPI_BILLINGDOC_CREATEMULTIPLE from a delivery number and NOT A SALES ORDER.
    Please tell me what  details to be passed to table  BILLINGDATAIN . Please don't provide me function module documentation because it does n't help me create billing document from delivery. A sample source code or suggestion to what to pass would be really great!
    Thanks,
    Krishen
    P.S. Points assured for helpful answers and thanks for your time.

    Hi,
    Try this..
    DATA: s_vbap TYPE vbap.
    TABLES: vbak,vbap,likp, lips.
    DATA: t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE.
    DATA: t_conditions TYPE STANDARD TABLE OF bapikomv WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE.
    DATA: t_ccard  TYPE STANDARD TABLE OF bapiccard_vf WITH HEADER LINE.
    DATA: t_errors TYPE STANDARD TABLE OF bapivbrkerrors WITH HEADER LINE.
    DATA: t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE
    PARAMETERS: p_vbeln TYPE vbeln.
    select single * from likp
                    where vbeln = p_vbeln.
    SELECT SINGLE * from lips where
                    vbeln = likp-vbeln.
      t_billing-salesorg   = likp-vkorg.
      t_billing-ref_doc     = likp-vbeln.
      t_billing-ref_item    = lips-posnr.
      t_billing-doc_number     = p_vbeln.
      t_billing-itm_number    = lips-posnr.
      t_billing-ordbilltyp  = 'ZINV'.
      t_billing-price_date = sy-datum.
      t_billing-ref_doc_ca  = likp-vbtyp.
      t_billing-material    = lips-matnr.
      t_billing-plant       = lips-werks.
      APPEND t_billing.
    CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
      TABLES
        billingdatain         = t_billing
        return                = t_return
        success               = t_success
    commit work.
    Thanks,
    Naren

  • Hi,sorry for my english.My question is how to change country when i have credit in my account.My account is US and i've 0.5 USD.Now,one frind from Canado bought some credit cards and i can't recharge my account.Tank you for helping me.

    Hi,sorry for my english.My question is how to change country when i have credit in my account.My account is US and i've 0.5 USD.Now,one frind from Canado bought some credit cards and i can't recharge my account.Tank you for helping me.

    BellaMichelle wrote:
    For some reason, I have had misgivings about partioning my internal HD.. not sure why.. sort of feels like I'm creating my own computer sybil ;-)  Truthfully, it seems weird to split it.. I don't think I can articulate it really.. but are there complications that can come with doing this?
    It's a common way to run multiple OSs, if there's room.  I've had two on my internal HD for a couple of years.  Plus a small partition for a copy of my Snow Leopard Install disc.  Just be sure to leave at least 10% to 15% free on each partition.
    Running Lion on a partition of the disk that also contains your backups is not a good idea; if that drive fails, you risk losing both copies of your stuff!
    OSX will also run somewhat more slowly, because access to an external is slower.  That probably won't be very significant, though.
    Also, would the decision be effected by how long I want to maintain the SL section?  I am assuming once I sort out what to replace Quicken with, I won't want to keep the SL section.  So would it be easy enough to 'clear out the SL data, and open the partition?
    Review #3 in Formatting, Partitioning, Verifying, and Repairing Disks. 
    All things considered, your best bet may be to  "clone" your SL partition to the second one, then (once you're sure everything is cool), erase the original (top) SL partition.  You can use the Restore tab of Disk Utility for that (#7 in the same link), or a "cloning" app such as CarbonCopyCloner or SuperDuper.  Then install Lion on the top partition.
    When you're done with SL, just delete it's partition and expand the Lion partition down into the vacated space.

  • I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    Try
    https://iforgot.apple.com

  • I normally dont need a login when I install new program, but I try to Install a new flash player im asked to write a login and I have no clue? when I search for help it suggest to put in the original installation cd but that doesnt work. Please help!

    When Trying to install the newest Flash player, Im asked to fill in my login.
    I have no clue what my login is. (It happened very rarely that I was asked to fill in this when installing a new program, and the login I have used before are not valid now.
    When I search for help, I am suggested to put in the original installation Cd.. and press the "C" button when I hear the starting sound... but when I do this nothing is happening.
    Please Help me If you have an idea for a solution to this problem!
    / Joel

    You need the admin password you created when you first set up the machine.  Just about every installer running under OS X will require you to authorize the installation by entering an administrator password - even software update requires this.  You really should not forget your admin password, as it is required for many things in OS X since, unlike Windows, you often need to manually type in the admin password to proceed with an install or update (whereas Windows will take admin authority, if you are logged in as an admin, by simply clicking continue or yes).
    If you cannot remember your admin password, you can reset it from the recovery CD that came with your mac - http://support.apple.com/kb/HT1274

  • HT1766 I have restored my new phone from I cloud but when I connect to my PC to put some music on it asks for  set up as new phone or back up from a date from iTunes that is too old. Help it's doing my head in

    I have restored my new phone from I cloud but when I connect to my PC to put some music on it asks for  set up as new phone or back up from a date from iTunes that is too old. Help it's doing my head in

    Select setup as "New", the next screen should prompt you to rename your phone. Just name it what you already have it named. After that, you should be able to sync and all of your data & settings will still be exactly as you've already set them up on your phone. The message is more threatening than what really happens.

  • I am at starbucks and when I try to download my free music on itunes, my password is always rejected, even when i am forced to create a new one!!!  what am I doing wrong, who do I ask for help

    I am at starbucks and when I try to download my free music on itunes, my password is always rejected, even when i am forced to create a new one!!!  what am I doing wrong, who do I ask for help?

    Due to recent security issues and identify theft (mostly due to phishing scams), the iTunes Store seems to be requiring more frequent verification of credit card information when a card is registered in your account, even if you have a balance from a prepaid card. Either just go through the verification process or, if you have a credit card entered and you don't expect to need the card anytime soon, go into the Payment information in your account and set the payment method to "none" which should then stop the regular requirements for verification  (it may still ask - mine does - but you should just be able to click through the buttons without problems).
    Hope this helps.

  • Hi I bought a new iPhone 4 with iOS 6.1.3 installed. When I connected it to itunes for the first time to activate it iTunes asked me to enter the password for an account that the iPhone is locked with what shall I do? PLease help

    Hello everybody
    I bought a new iPhone 4 with iOS 6.1.3 installed. When I connected it to itunes for the first time to activate it iTunes asked me to enter the password for an account that the iPhone is locked to like if the device was used before what shall I do? PLease reply soon

    I can't do that because the device was purchased from United Arab Emirates and I got it as a gift in Syria but the problem is that there is not even a single apple store in Syria so is there another way to fix that, I googled it and was told to jailbreak the device whitch I did and than hacktivated it but the problem is the device doesn't connect to any network and only shows "no service" and the battery draining too fast so is there any other way to fix this issue

  • Even I cant believe this is happening again! i'm once again asking for help with my account.  Since im very sick I ask that u look into my account and read the hell verizon has put me through and assist ending the hell once and for all even if that means

    Even I cant believe this is happening again! i'm once again asking for help with my account.  Since im very sick I ask that u look into my account and read the hell verizon has put me through and assist ending the hell once and for all even if that means ending my contract, i just want the hell over. I went into my bill tonight and the mess was still there I paid $110. that's what I owe

    I guess I spoke too soon!  I really can't believe this nightmare is not over yet! My account is still wrong.  The credit that I was due totaled $63.00  I am looking at a message on my phone saying that $21.01 was credited which makes my balance $219.72.  I received a text the following day that says, I processed your credit of $30.00 and your new balance $216.73 how is that possible?  None of the late fees were credited and the amount due for my monthly charges are wrong.  Before any changes were made to my data plan back in Nov. My monthly charges were $140.00, I needed my hot spot back and i was told that the hot spot will increase my bill $10 for each phone that totals $20.  The customer rep that change my data plan at that time also gave me a credit of $20 to compensate for the increase until I had time to talk with customer service about the mix-up with my Hot spot. I originally had the hot spot, but the rep that change my plan almost a year prior told me nothing was changing except I was getting more for less money.  I explained to that rep that I need my hot spot 4 times a year...and I don't want my plan to have any changes. To verify what I'm telling u check my account and see that I called from Albany New York wanting to know where my hot spot was and I was told I didn't have the hot spot on my account since the last data change!  I lost money once again due to the verizon rep's.  so my current data plan the rep promised would increase $20 which makes my monthly charges that were $140 prior to the change $160 after the hot spot was returned to my account.  Then I was given a $12 credit per month for 12 months because of so many mistakes made to my account so with that $12 credit my monthly charges should $148 + surcharges + taxes and that's not what I see. I do know this much right now my account is in such a shambles I can hardly see the light at the end if there is an end!  I need real help!
    >> Personal information removed by Verizon Moderator to comply with the Verizon Wireless Terms of Service <<

  • I changed by apple id and password on apple web site but when I try to sign in on my touch it asks me to enter the password for my old apple id, how do i get icloud to recongnize my new id?

    I changed my AppleID and password on the Apple web site but when I try to sign in on my touch it asks me to enter the password for my old Apple ID, how do i get ICloud to recognize my new ID?

    Hi appledapple1964,
    After changing your Apple ID information, you may need to manually sign out and sign back in on your devices so that they may recognize the update. You may find the following article helpful:
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Regards,
    - Brenden

  • Problem with A300, Ask for help

    Hello from Bulgaria!
    In the beginning I want to apologize if I bother you at the wrong place. This was the only place i found in all your sites at "Contact us" menu. If I'm in mistake please redirect me to the right e-mail or topic.
    I have extremely big problem with one of your products, and I'm afraid I can't solve him without your help. Few months ago I bought a laptop witch exact model is TOSHIBA SATTELITE PRO A300 - 1GQ. Model No.: PSAG1E - 00900NF3, Serial No.: 88549776Q. If you need another information I can tell you everything. Badly i got serious virus and the situation reach fall windows start. I know about integrated Toshiba Recovery and I used it. Windows Vista was successfully installed but the partion was not formated. Some of the system files was still corrupted and I resorted to Toshiba DVD comming with the laptop. I ran it, there was no problems until I saw Windows XP logo. I was pretty surprised because I expected Windows Vista like original one which came with the laptop from the shop. Another problem was that that installation formated whole HDD including partitions different from C:\ with Windows system files. All of my data is gone without I could be able to do something. However, th
    e question is that I need Windows Vista very badly and I dont want XP. I tried to use hidden partition with Toshiba recovery again but I cant no longer access it. So I left with original XP with drivers integrated with it. The problem is that I need Vista with integrated drivers. It wouldn't be hard also if I found that drivers in your sites. Nowhere in your sites with download I could find the exact model to take it. The nearest was A210 which I think is pretty far from mine.
    And it the end I ask for help if you can tell me where to download the needed drivers or anyway to put Vista back. Preliminary I thank you and I apologize again for the disturbing. I need that information badly and I don't know where I can get it from. At least show me valid e-mail to contact with Toshiba Support.

    Satellite Pro A300-1GQ 
    This was the only place i found in all your sites at "Contact us" menu. If I'm in mistake please redirect me to the right e-mail or topic.
    These forums are for United States computers. For that European machine, you probably want to post elsewhere.
       Toshiba Support Forums Europe 
    You need to obtain a recovery disc that restores the hard drive to factory-new.
    -Jerry

  • I have an existing ipod that I use with my mac. I am trying to connect an additional ipod to it but when I try and register, it just brings up the existing info. I don't want to lose the original info or library - just create new for this device. Pls help

    I have an existing ipod that I use with my mac. I am trying to connect an additional ipod to it but when I try and register, it just brings up the existing info. I don't want to lose the original info or library - just create new for this device. Pls help...

    We are starting from the beginning like its a new ipod starts out asking language, country,location services,choose a network,and when we get to "setup ipod touch  " there are 3 options 1..setup as new ipod, 2.restore from ipod backup 3 restore from itunes backup and when we hit setup as new ipod and click next it comes up with sign in with apple id or create a free apple id  we clicked create a free apple id....then comes up with bday,1st name last name, use your current email address, get a free icloud email address or change email address and THIS is where we have problems....if we hit change email address it means that sis's stuff goes under his name and moves all her stuff to this older ipod which the brother does not want. sorry this is so long but its the only way I knew to do it.

  • Ask For Help!Hurry!!

    Hi, everyone, I am a new comer of Java, now I got a problem that i need to finish the following test as soon as possible, but I have no time to do it, so please help me to finish it if you can, ok? It is very very important to me, and I know it is quite a lot questions, so just do as much as you guys could, ok? I appreciate for that seriously!
    Group A. Multiple Choice (1 Mark for each question):
         �� PLEASE CHOOSE ONLY ONE ANSWER FROM : a), b), c), d).
    A.1. The CPU, RAM, and the soundcard communicate through the:
         a) CPU Heatsink.
         b) Bus.
         c) Magnetic coil.
         d) Thyristors.
    A.2. In the early 1990, Byarne Stroustrup and James Gosling respectively introduced:
         a) Pascal and Java.
         b) Object Pascal and Java.
         c) C++ and Java.
         d) Java and C++.
    A.3. Which of the following are illegal identifier in Java?
         a) 3Input
         b) _Currency
         c) $cents
         d) Second22
    A.4. A function-type method will always:
         a) destroy an object.
         b) create a component.
         c) return a value.
         d) return itself back.
    A.4. The keyword ��void�� is only legal in:
         a) Inner-Class declaration.
         b) Method declaration.
         c) Instance variable declaration.
         d) Interface declaration.
    A.5. What is the size and range of the ��int�� primitive data type in Java?
         a) Size: 32-bit, Range: -128 to 127.
         b) Size: 32-bit, Range: 0 to 65,535.
         c) Size: 32-bit, Range: -2 Billion to +2 Billion.
         d) Size: 32-bit, Range: -1.7 Trillion to +1.7 Trillion.
    A.6. What is the size and range of the ��char�� primitive data type in Java?
         a) Size: 8-bit, Range: -128 to +127.
         b) Size: 8-bit, Range: 0 to 65,535.
         c) Size: 8-bit, Range: -2 Billion to +2 Billion.
         d) Size: 8-bit, Range: -1.7 Trillion to 1.7 Trillion.
    A.7. Which of the following is not Java keyword?
         a) abstract.
         b) for.
         c) switch.
         d) then.
    A.8. Which of the following is an illegal array declaration?
         a) int [ ] [ ] myChairs [ ];
         b) char [ ] myChairs;
         c) int [6] myChairs;
         d) char myChairs [ ];
    A.9. In Java, a ��constructor�� is used for?
         a) initializing instance variables of an object.
         b) creating a valid interface of an object.
         c) creating a duplicate class.
         d) repeating heap table.
    A.10. In Java, each object belongs to:
         a) a class.
         b) a method.
         c) an abstract class.
         d) an applet.
    A.11. Constructor name is always the same as:
         a) the first string variable name.
         b) the class name.
         c) the stack name.
         d) the statement name.
    A.12. Which is false?
         a) if ( name = = harry )
         b) if ( name = = ��harry�� )
         c) if ( name.equals(��harry��) )
         d) if ( name.equalsIgnoreCase(��harry��) )
    A.13. A Java ��interface�� is to provide a way to:
         a) approximate inheritance from 2 parents.
         b) approximate a class instance.
         c) create a new string.
         d) create random enumeration.
    A.14. Which one of the following is false:
         a) for ( int i = 1 , j = 2 ; i < 5 ; i + +, j + + )
         b) for ( int i = 1 , i < 5 ; i + + )
         c) for ( int i = 1 ; i <= 5 ; i + + )
         d) for ( int i = 1 ; i <= 10 ; i +=2 )
    A.15. To ��override�� a method is :
         a) to supply a different implement of a method that exists in the superclass.
         b) to simply change the name of a method.
         c) to supply a fresh new method that does not exists in the superclass.
         d) to supply a duplicate method.
    A.16. After executing statements in a ��try�� block, if there was no exception occur, then:
         a) ��catch�� clauses are skipped.
         b) ��catch�� clauses are executed once.
         c) ��catch�� clauses are executed twice.
         d) ��try�� block is executed again.
    A.17. Which is false in Java:
         a) arrays have fixed length.
         b) arrays have elements of a specific type.
         c) arrays use [ ] to access elements.
         d) arrays does not have a fixed length.
    A.18. Testing a program without understanding its internal structure is called:
         a) white-box testing.
         b) black-box testing.
         c) blue-box testing.
         d) regression testing.
    A.19. The default layout manager in Java is:
         a) Border layout.
         b) Flow layout.
         c) Grid layout.
         d) Card layout.
    A.20. Which of the following is false:
         a) Applet runs inside a web-browser.
         b) Applet is platform neutral.
         c) Applet can be used to create animation.
         d) Applet has a ��main�� method.
    A.21. To respond to user mouse click we need :
         a) a runnable interface.
         b) an event handler.
         c) a constructor.
         d) a string tokenizer.
    A.22. The topmost super class in Java is:
         a) This class.
         b) Object class.
         c) Container class.
         d) Java class.
    A.23. In 40 randomly-ordered items, Selection sort is much slower than:
         a) Bubble sort.
         b) Insertion sort.
         c) Quick sort.
         d) Bi-directional Bubble sort.
    A.24. A sorting algorithm with a complexity of O( nlog(n) ) is:
         a) Insertion sort.
         b) Selection sort.
         c) Quick sort.
         d) Bubble sort.
    A.25. In Java, the abstraction for enabling network communication is achieved by:
         a) Container.
         b) Socket.
         c) Frame.
         d) Template.
    A.26. Which of the following is legal for using one line to declare, construct, and initialize an array?
         a) int [ ] myList = (5,8,9);
         b) int [ ] myList = {2,3,4};
         c) int myList [ ] = [3,4,5];
         d) int [ ] myList = {2;3;4};
    A.27. Which of the following is a true statement?
         a) An abstract class is not allowed to have non-abstract methods.
         b) if a class has abstract methods, it must be declared abstract.
         c) A non-abstract class is allowed to have abstract methods.
         d) A non-abstract class is allowed to have abstract methods as long as they are also static. .
    A.28. In Object Oriented terms, if you read ��A Hotdog is a Food��, which of the following is true:
         a) Class Food extends class Hotdog.
         b) Class Hotdog extends class Food.
         c) Class Food extends class Food.
         d) Class Hotdog is in the package Food.
    A.29. Which of the following is a false statement about constructors?
         a) Constructors are not inherited.
         b) Constructors cannot be overloaded.
         c) The first statement of every constructor is a call to: super.
         d) The first statement of every constructor is a call to: this.
    A.30. Given the statement String str = ��jawbreaker��; which of the followings will return the word
         the word ��break��
         a) str.substring(3,5)
         b) str.substring(4,6)
         c) str.substring(3,8)
         d) str.substring(4,8)
    A.31. Which of the following is false statement about Java constructors?
         a) A constructor��s name must exactly match the name of the class.
         b) Constructors must not have a return type.
         c) Constructors may have a return type.
         d) If you don��t type a constructor, the Java compiler will insert a default constructor.
    A.32. Which of the following is not a Java standard layout manager?
         a) GridBagLayout.
         b) FlowLayout.
         c) GridLayout.
         d) GridCardLayout.
    A.33. In Java, multiple inheritance is implemented by:
         a) an interface.
         b) a call back function.
         c) an extension.
         d) a dummy method.
    A.34. We can shorten the statement: String word2 = new String (��Charles��); with the following:
         a) String word2 = ��Charles��;
         b) String word2 = ��Charles��;
         c) String word2 = [Charles];
         d) String word2 = {Charles};
    A.35. In Java, we can change the statement: sum = sum + 1; with the following :
         a) sum += 1; or by using: sum ++;
         b) sum =+1; or by using: sum+;
         c) sum ++ 1; or by using: sum +1;
         d) none of the above.
    A.36. A ��main�� method is found in the following:
         a) Standalone Java program.
         b) A Java Applet program.
         c) A Java constructor.
         d) A Java interface.
    A.37. In business world, large data usually stored in:
         a) Relational database system.
         b) Flat database system.
         c) Simple array database system.
         d) Single Link database system.
    A.38. To access a large relational database, we usually use:
         a) MS Access Language.
         b) Structured Query Language.
         c) Structured Quantitative Language.
         d) Structured Recursive Language.
    A.39. In method overloading we are usually:
         a) adding more arguments.
         b) adding more iterations.
         c) adding more recursions.
         d) adding more classes.
    A.40. Which sorting algorithm uses a pivot-item:
         a) Merge sort.
         b) Quick sort.
         c) Bubble sort.
         d) Selection sort.
    Group B. Find The Mistake (5 Marks for each question):
    B.1. Please indicate where the mistake is, and suggest a correction:
         import java.awt.* ;
         import hsa.Console ;
         public class BlueRect
         {     static public void  main( String [ ] args )
              {      Console c;
                   c.setColor( Color.blue ) ;
                   c.fillRect( 0,0,50,100 ) ;
    B.2. Please indicate where the mistake is, and suggest the correction:
         public class Test
              public static void main(String [ ] args)
              String [ ] names = new String();
              c.println( names [2] );     
    B.3. Please correct the following Delphi code so that it does not generate compiler error:
         procedure Tform1.Button1Click(Sender: TObject);
         var
         MyArray : array[0..8] of Integer;
         X : Integer;
         begin
              X := MyArray[3] + MyArray[8] + MyArray[9];
         end;
    B.4. Somewhere in your Java for-Loop code:
    ����.
         for (int square = 1, square <=36, square ++);
              for (int side =1, side <=4, side --)
              t.move(60);
    �� ��
    Group C. Short Questions (5 Marks for each question):
    C.1. What is a Class in Object Oriented Programming? You may use an example if you wish.
    C.2. What is the difference between = and = = in Java? You may use an example if you wish.
    C.3. Why don��t we use double numbers all the time, everywhere? Why bother with Integers?
    C.4 What are the three fundamental concepts in object-oriented programming which every Java user
    needs to understand?
    C.5 What is displayed when the following code is compiled and executed?
    String s1 = new String(��Cambridge��);
    String s2 = new String(��Cambridge��);
    if ( s1 = = s2 )
         System.out.println(��Same��);
    if ( s1.equals(s2) )
         System.out.println(��Equals��);
    Circle one of the following answer:
    a) Same
    b) Equals
    c) Same Equals
    Group D. Complete The Codes (20 Marks):
    D.1. In this program the computer user enters his/her 5 names and will get the 5 names printed on screen.
         import has.Console;
         public class MyList
         public static void main (String[ ] args)
              Console c ;
              ��������������������;
              int [ ] somelist = new int [5];
              c.println(��Enter your ������);
              for (����.. i=0; i<5; i��..) {
              somelist[i] = c.read����();
              c.println(�������������� );
         }/*end of main*/
         }/*end of MyList*/
    Group E. Describe this Program (20 Marks for this question):
    E.1. Given the following Java standalone program, please describe what will this program compute if
         you gave it the proper data. You can write your comments after each line of code. Try your best.
         Give an input and output examples.
         import has.Console;
         public class MyStuff
         public static void main (String[ ] args)
              Console c = new Console();
              int [ ] stuff = new int [5];
              c.println(��Enter your data��);
              for (int i=0; i<5; i++)
              stuff[i] = c.readInt();
              c.println(��The ����������. is �� + myFunction(stuff));
         }/*end of main*/
         public static int myFunction(int [ ] list)
              int top = list[0];
              for (int i=1; i<list.length; i++)
                   if (list[i] > top)
                   top = list;
              return top;
         }/*end of myFunction*/
         }/* end of MyStuff */

    >
    A.1. The CPU, RAM, and the soundcard communicate
    through the:
         a) CPU Heatsink.
         b) Bus.
         c) Magnetic coil.
         d) Thyristors.c
    A.2. In the early 1990, Byarne Stroustrup and James
    Gosling respectively introduced:
         a) Pascal and Java.
         b) Object Pascal and Java.
         c) C++ and Java.
         d) Java and C++. a
    A.3. Which of the following are illegal identifier in
    Java?
         a) 3Input
         b) _Currency
         c) $cents
         d) Second22c
    A.4. A function-type method will always:
         a) destroy an object.
         b) create a component.
         c) return a value.
         d) return itself back.d
    A.4. The keyword ��void�� is only legal in:
         a) Inner-Class declaration.
         b) Method declaration.
         c) Instance variable declaration.
         d) Interface declaration.d
    A.5. What is the size and range of the ��int��
    primitive data type in Java?
         a) Size: 32-bit, Range: -128 to 127.
         b) Size: 32-bit, Range: 0 to 65,535.
         c) Size: 32-bit, Range: -2 Billion to +2 Billion.
    d) Size: 32-bit, Range: -1.7 Trillion to +1.7
    Trillion.d
    A.6. What is the size and range of the ��char��
    primitive data type in Java?
         a) Size: 8-bit, Range: -128 to +127.
         b) Size: 8-bit, Range: 0 to 65,535.
         c) Size: 8-bit, Range: -2 Billion to +2 Billion.
    d) Size: 8-bit, Range: -1.7 Trillion to 1.7
    Trillion.a
    A.7. Which of the following is not Java keyword?
         a) abstract.
         b) for.
         c) switch.
         d) then.a
    A.8. Which of the following is an illegal array
    declaration?
         a) int [ ] [ ] myChairs [ ];
         b) char [ ] myChairs;
         c) int [6] myChairs;
         d) char myChairs [ ];a
    A.9. In Java, a ��constructor�� is used for?
         a) initializing instance variables of an object.
         b) creating a valid interface of an object.
         c) creating a duplicate class.
         d) repeating heap table.b
    A.10. In Java, each object belongs to:
         a) a class.
         b) a method.
         c) an abstract class.
         d) an applet.b
    A.11. Constructor name is always the same as:
         a) the first string variable name.
         b) the class name.
         c) the stack name.
         d) the statement name.d
    A.12. Which is false?
         a) if ( name = = harry )
         b) if ( name = = ��harry�� )
         c) if ( name.equals(��harry��) )
         d) if ( name.equalsIgnoreCase(��harry��) )b
    A.13. A Java ��interface�� is to provide a way to:
         a) approximate inheritance from 2 parents.
         b) approximate a class instance.
         c) create a new string.
         d) create random enumeration.b
    A.14. Which one of the following is false:
         a) for ( int i = 1 , j = 2 ; i < 5 ; i + +, j + + )
         b) for ( int i = 1 , i < 5 ; i + + )
         c) for ( int i = 1 ; i <= 5 ; i + + )
         d) for ( int i = 1 ; i <= 10 ; i +=2 )a
    A.15. To ��override�� a method is :
    a) to supply a different implement of a method that
    exists in the superclass.
         b) to simply change the name of a method.
    c) to supply a fresh new method that does not exists
    in the superclass.
         d) to supply a duplicate method.d
    A.16. After executing statements in a ��try�� block,
    if there was no exception occur, then:
         a) ��catch�� clauses are skipped.
         b) ��catch�� clauses are executed once.
         c) ��catch�� clauses are executed twice.
         d) ��try�� block is executed again. b
    A.17. Which is false in Java:
         a) arrays have fixed length.
         b) arrays have elements of a specific type.
         c) arrays use [ ] to access elements.
         d) arrays does not have a fixed length.a
    A.18. Testing a program without understanding its
    internal structure is called:
         a) white-box testing.
         b) black-box testing.
         c) blue-box testing.
         d) regression testing.d
    A.19. The default layout manager in Java is:
         a) Border layout.
         b) Flow layout.
         c) Grid layout.
         d) Card layout.b
    A.20. Which of the following is false:
         a) Applet runs inside a web-browser.
         b) Applet is platform neutral.
         c) Applet can be used to create animation.
         d) Applet has a ��main�� method.b
    A.21. To respond to user mouse click we need :
         a) a runnable interface.
         b) an event handler.
         c) a constructor.
         d) a string tokenizer.c
    A.22. The topmost super class in Java is:
         a) This class.
         b) Object class.
         c) Container class.
         d) Java class.a
    A.23. In 40 randomly-ordered items, Selection sort is
    much slower than:
         a) Bubble sort.
         b) Insertion sort.
         c) Quick sort.
         d) Bi-directional Bubble sort.b
    A.24. A sorting algorithm with a complexity of O(
    nlog(n) ) is:
         a) Insertion sort.
         b) Selection sort.
         c) Quick sort.
         d) Bubble sort.b
    A.25. In Java, the abstraction for enabling network
    communication is achieved by:
         a) Container.
         b) Socket.
         c) Frame.
         d) Template.d
    A.26. Which of the following is legal for using one
    line to declare, construct, and initialize an array?
         a) int [ ] myList = (5,8,9);
         b) int [ ] myList = {2,3,4};
         c) int myList [ ] = [3,4,5];
         d) int [ ] myList = {2;3;4};c
    A.27. Which of the following is a true statement?
    a) An abstract class is not allowed to have
    non-abstract methods.
    b) if a class has abstract methods, it must be
    declared abstract.
    c) A non-abstract class is allowed to have abstract
    methods.
    d) A non-abstract class is allowed to have abstract
    methods as long as they are also static. . a
    A.28. In Object Oriented terms, if you read ��A
    Hotdog is a Food��, which of the following is true:
         a) Class Food extends class Hotdog.
         b) Class Hotdog extends class Food.
         c) Class Food extends class Food.
         d) Class Hotdog is in the package Food.d
    A.29. Which of the following is a false statement
    about constructors?
         a) Constructors are not inherited.
         b) Constructors cannot be overloaded.
    c) The first statement of every constructor is a call
    to: super.
    d) The first statement of every constructor is a call
    to: this.a
    A.30. Given the statement String str =
    ��jawbreaker��; which of the followings will return
    the word
         the word ��break��
         a) str.substring(3,5)
         b) str.substring(4,6)
         c) str.substring(3,8)
         d) str.substring(4,8)a
    A.31. Which of the following is false statement about
    Java constructors?
    a) A constructor��s name must exactly match the name
    of the class.
         b) Constructors must not have a return type.
         c) Constructors may have a return type.
    d) If you don��t type a constructor, the Java
    compiler will insert a default constructor.d
    A.32. Which of the following is not a Java standard
    layout manager?
         a) GridBagLayout.
         b) FlowLayout.
         c) GridLayout.
         d) GridCardLayout.a
    A.33. In Java, multiple inheritance is implemented
    by:
         a) an interface.
         b) a call back function.
         c) an extension.
         d) a dummy method.c
    A.34. We can shorten the statement: String word2 =
    new String (��Charles��); with the following:
         a) String word2 = ��Charles��;
         b) String word2 = ��Charles��;
         c) String word2 = [Charles];
         d) String word2 = {Charles};d
    A.35. In Java, we can change the statement: sum =
    sum + 1; with the following :
         a) sum += 1; or by using: sum ++;
         b) sum =+1; or by using: sum+;
         c) sum ++ 1; or by using: sum +1;
         d) none of the above.c
    A.36. A ��main�� method is found in the following:
         a) Standalone Java program.
         b) A Java Applet program.
         c) A Java constructor.
         d) A Java interface.c
    A.37. In business world, large data usually stored
    in:
         a) Relational database system.
         b) Flat database system.
         c) Simple array database system.
         d) Single Link database system.d
    A.38. To access a large relational database, we
    usually use:
         a) MS Access Language.
         b) Structured Query Language.
         c) Structured Quantitative Language.
         d) Structured Recursive Language. a
    A.39. In method overloading we are usually:
         a) adding more arguments.
         b) adding more iterations.
         c) adding more recursions.
         d) adding more classes.b
    A.40. Which sorting algorithm uses a pivot-item:
         a) Merge sort.
         b) Quick sort.
         c) Bubble sort.
         d) Selection sort.b
    Group B. Find The Mistake (5 Marks for each
    question):
    B.1. Please indicate where the mistake is, and suggest
    a correction:
         import java.awt.* ;
         import hsa.Console ;
         public class BlueRect
         {     static public void  main( String [ ] args )
              {      Console c;
                   c.setColor( Color.blue ) ;
                   c.fillRect( 0,0,50,100 ) ;
         }"static public" should be "public static". it's reversed.
    B.2. Please indicate where the mistake is, and suggest
    the correction:
         public class Test
              public static void main(String [ ] args)
              String [ ] names = new String();
              c.println( names [2] );     
         } When declaring an array, do not put a space between the brackets. It should be "String[]".
    B.3. Please correct the following Delphi code so that
    it does not generate compiler error:
         procedure Tform1.Button1Click(Sender: TObject);
         var
         MyArray : array[0..8] of Integer;
         X : Integer;
         begin
              X := MyArray[3] + MyArray[8] + MyArray[9];
         end;
    B.4. Somewhere in your Java for-Loop code:
    ����.
         for (int square = 1, square <=36, square ++);
              for (int side =1, side <=4, side --)
              t.move(60);
    �� �� The object "t" was never declared or initialized. You probably need the following line:
    Turtle t = new Turtle();
    Group C. Short Questions (5 Marks for each question):
    C.1. What is a Class in Object Oriented Programming?
    You may use an example if you wish.A class describes what your program can do. For example:
    class FileCopier {
    // put code here
    C.2. What is the difference between = and = =
    in Java? You may use an example if you wish.= is for bitwise comparison, while == is for value comparison
    C.3. Why don��t we use double numbers all the time,
    everywhere? Why bother with Integers?An Integer is an object. Sometimes you need to store a number in a Vector; in this case, having an object is ideal.
    C.4 What are the three fundamental concepts in
    object-oriented programming which every Java user
    needs to understand?Hiding information, hierarchy, member variables.
    C.5 What is displayed when the following code is
    compiled and executed?
    String s1 = new String(��Cambridge��);
    String s2 = new String(��Cambridge��);
    if ( s1 = = s2 )
         System.out.println(��Same��);
    if ( s1.equals(s2) )
         System.out.println(��Equals��);
    Circle one of the following answer:
    a) Same
    b) Equals
    c) Same Equals b
    Group D. Complete The Codes (20 Marks):
    D.1. In this program the computer user enters
    his/her 5 names and will get the 5 names printed on
    screen.
         import has.Console;
         public class MyList
         public static void main (String[ ] args)
              Console c ;
              ��������������������;
              int [ ] somelist = new int [5];
              c.println(��Enter your ������);
              for (����.. i=0; i<5; i��..) {
              somelist[i] = c.read����();
              c.println(�������������� );
         }/*end of main*/
         }/*end of MyList*/
    Group E. Describe this Program (20 Marks for this
    question):
    E.1. Given the following Java standalone program,
    please describe what will this program compute if
    you gave it the proper data. You can write your
    comments after each line of code. Try your best.
         Give an input and output examples.
         import has.Console;
         public class MyStuff
         public static void main (String[ ] args)
              Console c = new Console();
              int [ ] stuff = new int [5];
              c.println(��Enter your data��);
              for (int i=0; i<5; i++)
              stuff[i] = c.readInt();
    c.println(��The ����������. is �� +
    + myFunction(stuff));
         }/*end of main*/
         public static int myFunction(int [ ] list)
              int top = list[0];
              for (int i=1; i<list.length; i++)
                   if (list[i] > top)
                   top = list;
              return top;
         }/*end of myFunction*/
         }/* end of MyStuff */
    The program asks the user to enter 5 numbers. Then, it checks which number is greater than 0, and prints that number.

  • Deception, no or few replies to people asking for help

    I'm so sad about this new forum. There are many questions asked and few replies or replies that don't go deep.
    I remember that in the old forum there were very interesting discussions, very deep (technically speaking), I always found a solution or at least I found out that I wasn't the only one to have that bug/problem.
    I could read some of the discussions, even if I didn't have that particular problem, only because they could teach me something.
    Now it is difficult to follow what the people ask and what others reply. It's a sort of chat with 20 people who ask for help during the same minute.... how to follow that How to help?

    Patrizia Franchini wrote:
    And remember also that in Europe Apple and the Mac are not so important (or weren't before the iDevices). In the shops you couldn't find ONE webcam compatible with your Mac, ONE software for the Mac, ONE book, .. It was necessary to order the items on the Internet. No version of the State tax program for the Mac,... It is/was a fight, a challenge.
    It was the same way in the US before the Apple Stores. There is nothing Apple can do about tax software. Contact the company that makes it and ask for a Mac version.
    Here the price difference with the PC are enormous... in the United States the prices are more competitive.
    Because the US doesn't have a VAT. I've been to Europe many times. Everything is more expensive there. I live in Canada now and it is much the same here. Currency exchange rates are meaningless. Everything is more expensive in Canada. If anything, Apple products are actually marked up less than other products.
    And you also have some privileges: there are many promotions only available in the United States. You lose all your purchased music? In the United States there is a way to have it back with a click, but not in Europe. In your iTunes store there are many free songs and video,.... In Europe it's only a year or two that there is ONE free song each week.
    I sincerely doubt Apple is responsible for that. Europe is a huge, wealthy market. Apple would love to offer Europeans the same deals that they do in the US. It has taken years for Apple to make agreements with all of the various rights holders to make iTunes the market that it is. Compare iTunes to the iBookstore. These things just take time. The European companies just don't want to make any deals.
    Well, just to explain why Apple has/had a little part of the market here, and why it is/was difficult to find Apple products and help for Apple products.
    Keep in mind that Apple's newfound success is due to its intense focus on devices for consumers. The PC industry is still 85% PC. Just try to use a Mac at work. I dare you. Given the entreprenurial nature of the US vs the heavily industrial nature of Europe, I can see why it would be worse there.
    I forgot to say that to obtain help from Apple is very difficult where I live. No phone service from Apple, no chat with the customer care, no Genius bar (or very far away, 300 km), no companies that can help you if you lose your data from the hard disk. The Apple Store is in German and French and customer service people only speak French and German, and not Italian. If you want to speak Italian, you must contact the Italian Apple Store, but they can't help you with a problem in the Swiss Apple Store.
    You have to find yourself the solution.
    It is the same everywhere. Apple Stores are only in major markets. Many people in the US or Canada still have to drive 300 km to find one. I can't help much with the language. There are something like 500,000 Italian speakers in Switzerland. How many of them own Macs? If Apple hired some Italian speaking customer care representatives would they then have to increase the price for Apple products for everyone in Switzerland?
    The best option for avoiding data loss is Time Machine.

Maybe you are looking for

  • Hardware issues

    I have a Matrox RTX2 LE installed in a PC with a ATI Radeon 4850 512MB Graphic card (Motherboard INTEL DG33TL). The ATI is installed in the PCI Express x.16 slot and the Matrox is in the PCI Express x1 slot near to it. When I'm working in Premiere CS

  • Regarding ALV standarad sort functionality

    Hi All, We are developing the webdynpro ABAP application using ALV functionality which will display the data. Here as per the SAP standard functionality if we click on sort option if there are same values for multiple records in a single column then

  • Installing GoLive CS2 with Master Collection CS3

    I have just taken possession of a beautiful new system with the full Adobe Master Collection already installed by my computer guru man. The new system is very fast etc but I kept with XP 'cos had heard too many horror stories about Vista. After getti

  • Bridge craching in CS4

    Bridge keeps coming up with an error and then windows closes it down. have restarted and gone back into Bridge for it to do the same thing after a minute or so. This has happened 4 times this am. I am trying to edit a WEDDING!! Brides wait for NO ONE

  • Can't startup computer after 10.4 install...

    Hi, I just installed 10.4 from a DVD on my trusty G4 Quicksilver, and now the when I try to restart I get the grey Apple and spinning timer, then the Apple turns to a "No symbol" (Zero with a slash through it) and nothing else happens... Luckily I st