Please, is my answers correct??

Good day every body,
In my last exam in Java, the teacher gave me a ready code and asked to find ten erron in it.
the code and my anseres as underlined below:
Public Class box
     x int [] = new int (5);
     int y [] = new int [10];
     length double;
     int width;
private static double f = 10 _// missing ;_
Box obj1 = new XYZ ();
public box();
public Box (double len, int wid, double f)
length = len;
width = wid;
f = ‘a’;
public int setLength (int l); _//no ;_
length = l;
} // extra braces
} //end Box class
the teacher minus me one mark,
Who is correct??

Are you sure the question did not state that there are 11 errors?
Public class boxshould be with a lower case "p"
public class boxTyping that code snippet up and compiling it should have clarified that for you.
Edited by: ForumKid2 on Dec 28, 2010 11:44 AM

Similar Messages

  • The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assi

    Hi ,
    We have enabled context sensitive DFF in Bank Branch Page for HZ_PARTIES DFF , We have created Flex Map so that only bank branch context fields are only displayed in the bank branch page and  as we know party information DFF is shared by supplier and Customer Page so we dint want to see any Bank Branch fields or context information in those pages.
    We have achieved the requirement but when open existing branches bank branch update is throwing below error message :
    "The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assistance."
    this error is thrown only when we open existing branches, if we save existing branch and open then it is not throwing any error message.
    Please let us know reason behind this error message.
    Thanks,
    Mruduala

    You are kidding?  It took me about 3 minutes to scroll down on my tab to get to the triplex button!
    Habe you read the error message? 
    Quote:
    java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
    Check the trigger and it should work again.
    Timo

  • I dont remember the first apple id that link with my clash of clans apps. the problem now is i need to link my COC village and it keep saying "please log in with correct game center" is there anyway that i can retrieve my old apple id? please help me

    i dont remember the first apple id that link with my clash of clans apps. the problem now is i need to link my COC village and it keep saying "please log in with correct game center" is there anyway that i can retrieve my old apple id? please help me i dont want to lose my village, i have spent my money on that game to much. hmmm

    thanks mate, but the problem is im using different apple id now, and after about 1 year play coc and today i want to link the village , suddenly coc said that
    thats mean im playing this village with different apple id and it not saved. and the problem is i dont remember the first apple id and password that i use first time to download this game. hmmm it was so confusing, why coc and game center just make this thing saved with a new game center account.

  • Every time I download a file to my macbook pro, it saves it to downloads but changes the name and inserts % sign.  Please advise how to correct the name that it is saved under.

    Every time I download a file to my macbook pro, it saves it to downloads but changes the name and inserts % sign.  Please advise how to correct the name that it is saved under.

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID.
    Apple ID FAQs
    http://support.apple.com/kb/HE37

  • Agent Assignment showing error "Please position the cursor correctly"

    Hi Friends,
    I have a strange problem that has come up suddently in the development client. The "Agent Assignment" which was happening earlier is not working anymore. Instead it is showing an information message "Please position the cursor correctly". I am doing the agent assignment the same way i used to do it earlier but its not happening. I tried changing the agent assignment for most of the task types including the "Activity" task, "Decision" task. But nothing seems to work....
    The agent assignment is happening in Sandbox client but not in Development client.
    Is it some BASIS side settings ?? What may be the exact cause ??
    Please help.
    Thanks,
    Shashank Shirali

    You do not have the proper authorization to do the agent Assignment. Take a SU53 dump and you will find our which authorization is missing and ask the Security folks to provide the authorization.
    Thanks
    Arghadip

  • My iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display :( please advise me a corrective action...

    my iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display please advise me a corrective action...

    Take it to an Apple Store and see about getting an out of warranty replacement. I believe it will run you about $150.

  • Please help me to correct the script

    I try to write a script by my slef, but not work
    app.findGrepPreferencest = firstLineIndent:8, leftIndent:8;
    app.changeGrepPreferences = firstLineIndent:8, leftIndent:16;
    app.changeGrep();
    app.findGrepPreferences = app.changeGrepPreferences = null;
    Can someone please help me to correct the script, please.

    both two script are working
    but waht if I change the script into this format?
    function(){
    app.findGrepPreferences.firstLineIndent  = "8 mm";
    app.findGrepPreferences.leftIndent  = "8 mm";
    app.changeGrepPreferences.firstLineIndent  = "8 mm";
    app.changeGrepPreferences.leftIndent  = "16 mm";
    app.selection[0].changeGrep();
    app.findGrepPreferences.firstLineIndent  = "8 mm";
    app.findGrepPreferences.leftIndent  = "16 mm";
    app.changeGrepPreferences.firstLineIndent  = "8 mm";
    app.changeGrepPreferences.leftIndent  = "24 mm";
    app.selection[0].changeGrep();
    and then so on,
    Can it works?

  • HT204150 I have recently switched to the latest i-phone. my contacts are updated by i-cloud between phone and mac laptop.there are only about 720 contats showing on phone from app. 1250 on the computer. please advise how to correct phone

    I have recently switched to the latest i-phone. my contacts are updated by i-cloud between phone and mac laptop.there are only about 720 contats showing on phone from app. 1250 on the computer. please advise how to correct phone

    On the mac, only contacts in the "iCloud" section will sync to other devices.  Those in the "On my mac" section do not.  Could that be your problem?
    To test the icloud situation, log into icloud.com with your mac's safari and to to the contacts page.  What you see there is what icloud has received from mac and iphone. 

  • SD Questions Please Send The Answers

    Hai
                Here i have attached some SD Interview Questions .Please Send the Answers .
    Awaiting For Ur Replay - Please Mail Me [email protected], And [email protected]
    Thanks
    S.Siva
    1.     Five steps of implementation with full details.
    2.     What is ticket? Process flow ticket?
    3.     What is ticketing tool? What is SODA?
    4.     How to stop PGI?
    5.     Details about SLS.
    6.     Details about the Gap analysis. (What are the gaps you have faced?)
    7.     What is meant by landscape? (Landscape of your project for example)
    8.     In which scenario we go for different pricing procedure at orders and billing?
    9.     Cut over activity means what?
    10.     In real-time project, how many pricing procedures to be used?
    11.     What are the tools used to communicate with the client?
    12.     Any three major issues faced in the support project?
    13.     Difference between SD account key and FI account key?
    14.     How to post goods receipt from storage location to warehouse? What is the movement type?
    15.     Tcode for listing blocked documents?
    16.     What is the advantage of using the text as reference instead of duplicating it?
    17.     Have you ever applied BPR (Business Process Reengineering) in an implementation project?
    18.     To perform material configuration, which system one has to use in landscape?
    19.     What is the tcode for creating number range for a sales order type?
    20.     Difference between centralized credit mgmt and decentralized credit management.
    21.     Where do u configure in development server or application server or in testing server?
    22.     Details about clients.
    23.     What is an abap query? Why it is used?
    24.     What are the steps for end user training in sap SD module?
    25.     Difference between discount and rebate.
    26.     When is material determination got triggered?
    27.     A customer wants to buy two materials / one is 3rd party material (Item category: TAS) / another one is normal material (Item category: TAN). His requirement is he wants a single invoice for both items without splitting? How can we do this?
    28.     In consignment fill up, we deliver goods to customer site, is there any agreement with customer? If yes means, what type of agreement relating price?
    29.     Details about VAT configuration.
    30.     What is the use of pricing date in condition type?
    31.     In R/3, we represent a company’s structure by defining and assigning corporate structure elements. What is the purpose of doing that?
    32.     What are the different partner functions can a customer master record serve?
    33.     What is the difference between condition type EK01 and EK02?
    34.     What is retroactive billing? Who will create that?
    35.     In your functional role, how you gather technical specifications for your technical team members from your client?
    36.     Is it possible to change existing item categories?
    37.     For cash sale, how will availability check be done?
    38.     How is the access sequence controlled?
    39.     User specific parameter means what? How to create that one?
    40.     What is the difference between listing and exclusion?
    41.     Difference between customization and configuration.
    42.     How to customize rebate processing in sap sd?
    43.     LSMW important step is what?
    44.     What is the extract used in condition technique of pricing?
    45.     Can we create credit management separately for two different materials?
    46.     Work center means what?
    47.     If the client logon screen deleted while requirement is urgent, then what to do?
    48.     What is meant by time bond deliveries?
    49.     After implementing sap in production environment, while creating sales order, client wants to give discount for first 10 sales orders? How to do this?
    50.     What are the Three different kinds of messages? What is the difference between them?
    51.     Details about testing at sap sd.
    52.     What is the access sequence for header conditions?
    53.     Details about actual GI date and planned GI date .Can actual GI dt differ from planned GI dt?
    54.     Influencing factors for account determination for invoices.
    55.     Details about sap best practices.
    56.     To start a transaction, how many ways are there? And what are they?
    57.     Who will create transportation request?
    58.     In realization phase, what will be doing?
    59.     Is it possible to release change request without releasing task?
    60.     Details about lean warehouse management.
    61.     How to customize excise duty, insurance and cess condition type in pricing procedure?
    62.     How to stop PGI?
    63.     Data dictionary or repository means what?
    64.     How do you transfer request from development instance to production or quality instance?
    65.     What is the importance of release status in condition table?
    66.     Why does account group controls customer?
    67.     What are the deliverables in your blue print?
    68.     If you generate bill more than credit limit, then what will happen?
    69.     What is the value class used for material creation?
    70.     Why do we maintain sales office?
    71.     Is it possible to substitute one product for another? If so, how it can be achieved?
    72.     What is the difference between ATP check and availability check? How these reflect in sales order?( Which check system considers) what are the img steps for the same?
    73.     Explain process and steps involved in returns third party order processing.
    74.     What is the client specific data? Give 2 examples of client specific data.
    75.     What is the most critical field in delivery document?
    76.     What is the relation between sap sd and ABAP?
    77.     What is the functionality of negative posting in billing document?
    78.     In real time, when we start system in first, what screen we get and tell me the process how to log on screen? (IBM question)
    79.     How can you check in sap system, how, when and by whom, which fields in the customer master record were changed?
    80.     What is variant and its configuration?
    81.     After logging into R/3 system, if you want an end user to see a specific menu…. How could you do that?
    82.     Is it possible to automate output processing?
    83.     Which data is relevant for crediting credit and debit memos?
    84.     In system landscape, where the sandbox and golden box client exists?
    85.     What is the user exists? /how can we create user exists? What is the purpose of that?
    86.     Details about value sap.
    87.     Is there any difference between product selection and material determination?
    88.     How do you transfer request from development instance to production or development instance?
    89.What part of the company is responsible for the type of shipping, the necessary shipping materials and the means of transport?

    What is ticket? Process flow ticket
    Handling tickets is called Issue Tracking system. The errors or bugs forwarded by the end user to the support team are prioritized under three seviority High, Medium and Low. Each and every seviority as got its time limits before that we have to fix the error.
    The main job of the supporting consultant is to provide assistance on line to the customer or the organisation where SAP is already implemented for which the person should be very strong in the subject and the process which are implemented in SAP at the client side to understand,to analyse,to actuate and to give the right solution in right time.This is the job of the support consultant.
    The issues or the tickets(problems) which are arised is taken care of on priority basis by the support team consultants.
    The work process in support projects are given below for your reference.
    1. The customer or the end user logs a call through any tool or by mail (RADIX).
    2. Each one of the support team is a part of support group.
    3. Whenever a customer logs a call he /she has to mention to which work group (by name).
    4. Once the calls came to the work group the support consultant or the team need to send an IR (Initial Response) to the user depending upon the priority of the calls. (Top,High,Med,Low,None)
    5. Then the error is fixed, debugged by the support consultant or the team. Then after testing properly by generating TR(Transport Request through the basis admin)
    6. Then it is informed to the end user/customer/super user about the changes which have moved to the production server by CTS process.
    These are the process. In summary, what I understand is that if any configuration or customization is required to solve the issue, then the consultant have to work on DEV Client, then the end user will test it in the QA client and after approval the BASIS consultant has to transport it to the PRODUCTION client.
    An example:
    Tickets in SD can be considered as the problems which the end user or the employee in the company face while working on R/3. Tickets usually occur during the implementation or after theimplementation of the project. There can be numerous problem which can occur in the production support and a person who is working in the support has to resolve those tickets in the limited duration, every ticket has the particular deadline alert so your responsibility is to finish it before that deadline.
    To begin with , we should give "TICKET" to you for not knowing it.
    Here is an eg of a ticket raise:
    End user is not able to
    1. Create Sales order for a customer from a New plant , since shipping point determination is not happened . ( Without Shipping point the document becomes INCOMPLETE and he will not be able to proceed further like DELIVERY, BILLING).
    He raises a ticket and the priority is set in one of the below:
    1. Low 2. Medium 3. High.
    Now you need to solve this ticket. You would analyze the problem and identify that the SP configuration has to be done for the new plant.
    You would request a transport for DEV CLIENT to BASIS. You do the change and Request one more Transport to BASIS for QA client. The End user will test the same by creating a sales order for the new plant and approve it.
    Finally, you request a transport to move the changes to PRODUCTION. Once the change is deployed in production the TICKET is closed. What I have given is a small example. You would get some real issues with severity HIGH in your day-day support.
    Regards.

  • What is the error code mean? And how to solve it ?Please give your answer. Thanks

    What is the error code  mean? And how to solve it ?Please give your answer. Thanks
    Attachments:
    QQ截图20140403134626.png ‏59 KB

    duplicate post
    LabVIEW Champion . Do more with less code and in less time .

  • Good night I have the question of a message that I have received in my mobile, if I won 715.000 pounds sterling on a lottery contest the Apple company, please let me answer if this is real lottery to send my personal data for the claim this prize.

    good night I have the question of a message that I have received in my mobile, if I won 715.000 pounds sterling on a lottery contest the Apple company, please let me answer if this is real lottery to send my personal data for the claim this prize.

    Scam. Do not divulge any personal or financial information.

  • Quickly!Quickly!Quickly!What is the error code mean? And how to solve it ?Please give your answer. Thanks

    What is the error code mean? Why is there an error?And how to solve it ?Please give your answer. Thanks!                                               
    ——1110340026
    Attachments:
    QQ图片20140403140655.jpg ‏108 KB

    Sannieboyyyy wrote:
    Could be me, but your VI is not working properly on the english version of LV. Can I suggest you to try programming in English in the future?
    Yes, it's you. The VI is working just fine, except for some cosmetic issues with the labeling. I don't think is is a valid suggestion to force somebody to program in a specific language, especially since LabVIEW supports all these languages.
    Here are the problems with the VI:
    If you don't want an amplitude of zero, you need to set the amplitude control to a nonzero value before running. Simple as that!. (You could also set the input range for the amplitude control to exclude zero or use a case structure to skip certain code if the amplitude is zero).
    You could also wire the error output to an indicator so it simply displays the errors, but keeps running.
    Your while loop is currently useless. You can delete it and the program function will not change. Use a stop button at the loop condition.
    Your while loop needs some timing so it runs at a reasonable rate. Either add a small wait or configure the signal generation to "simulate acquisition timing" instead of "run as fast as possible".
    LabVIEW Champion . Do more with less code and in less time .

  • I forget the answer of questions of my account please send my answers thank you

    I forget the answer of questions of my account please send my answers at my email to enjoy it
    thank you
    <Email Edited by Host>

    I'm referring to your initial post above. You had included your ID as well as your password. Hopefully the hosts removed it before other people were able to steal it.

  • Lightroom5 Serial Number is not korrekt - New Produkt by amazon, but adobe doesn´t accept the serial-number. Please (if possible) answer in german - thanks

    New Produkt by amazon, but adobe doesn´t accept the serial-number. Please (if possible) answer in german - thanks

    Make sure you have 24 digits serial. also let me know if you have installed the product from creative cloud app, if it is installed through creative cloud app you will get invalid serial number error

  • Captivate 7 - Some Users Not Getting 100% of Answers Correct with Question Remediation

    We are using Captivate 7 content to deliver courses via Adobe Connect 9.1.  We are experiencing an interesting issue with question remediation. When a user takes the quiz question and gets the answer wrong, the user is taken back to spot in the course where he/she can review the information.  Once the user is done reviewing the information, he/she is taken back to the question to answer it correctly.  The learner has infinite attempts to get the answer correct.  In theory, the user should always get 100% for the final test score.  We are noticing that some users (10%) actually don’t get 100% of the answers correct according to Adobe Connect transcript reports.
    Is there something we can look at to see what might be causing the incorrect score?  Is there a known issue?
    We publish Captivate 7 content as SWF/HTML 5 on Adobe Connect 9.1.

    Unfortunately, the discussion here led me to the resolution, but is not terribly valuable from a Captivate standpoint.  It turns out that we have a custom database script running on the Adobe Connect back end to correct people who have been left in an "In Progress" state even though they have a passing score and appear to have completed the course.  To avoid the script changing these records to pass, we bumped the passing score to 100%.
    Thanks for the help!

Maybe you are looking for

  • Trying to move EP 7.0 from one MSSQL server to a different one

    We have created a distributed instance installation of NW2004s/EP7.0. We need to move the database instance from one windows server to a second server.  We do not need to move any other portions. We shutdown the MSSQL server and copied the files, and

  • How do I use the same iCloud Photo Library on multiple iPhones?

    I want to be able to use iCloud photo library on all my i-Devices, with the same photo library. I can log in with the same iCloud account on all devices, but, then I can't get FindMyFriends to work, because each IOS device needs it's own iCloud accou

  • Events problem in Table Maintainance Generator.

    Hi, I had created the custom table having three field in it Namely (Pernr,Begda,Endda).Here Pernr is Primary key. So by using the TMG events '05' i had written the program as below 1) when pernr is intial Display the Error message. 2)When Begda is Gr

  • Doesn't this basic FK constaint lead to catch22 scenario?

    Version:11g What would you do if you wanted to UPDATE a column in the parent table like the one below? Its a bit of CATCH-22 situation. I can't update the parent table without updating the child table and i can't update the child table without updati

  • Configuring Active Directory user to Authenticate against OSB proxy service

    Hi, I applied the oracle Predefined auth.xml WS-policy to the osb proxy service and that will query a web service that is running on separate weblogic server, and I configured ActiveDirectory as an Authentication Provider in the weblogic server under