How to pass a string as a parameter after it has been generated on console

This is wat i want to do...when a sentence has been generated on console(using Bingo.startConversation())..i want to pass this sentence(which is ofcourse string) as a parameter into another method Bingo.reply(???)..wat shud i use in the place of ???
this is my code
public static void main(String[] args) {
Conversation conversation=new Conversation();
Bingo bingo=new Bingo ();
System.out.println("Start");
System.out.println(">>");
System.out.println(Bingo.startConversation());//this line generates a sentence on console//
System.out.println(Bingo.reply(???));

-> this is my code
Still didn't use the "Code" tags like you've been asked to do in other postings.
So, still no help.

Similar Messages

  • How do I lock a PDF form field after it has been completed by a user?

    We have a problem with privacy on our downloadable Pdf Forms for customers, they are required to complete personal details within the Pdf Form Fields and then must be processed by our account team.
    But we would require customer completed forms to be disabled from any third party or employee tampering with the entered details.
    Once the data has been input into the form provided online and saved and sent-on it needs to be read ONLY from then on!
    Help please, Chris.

    It depends how secure they need to be. You could include a script in the form which sets the fields to be read-only when the form is submitted, but that can easily be bypassed (and may not be respected by third party PDF applications). Search this forum topic for examples, it's been asked many times before.
    If you have Acrobat you can flatten a form, turning the fields into regular page content, but that's not possible in Adobe Reader X. While the flattened page can no longer be edited in Reader, it can still be edited in Acrobat via the touchup tools, so for complete security you would need to apply encryption to the flattened PDF (via a certifying signature or DRM).

  • HOW TO CHANGE THE FINANCIAL TRANSACTION IN FM AFTER POSTING HAS BEEN MADE.

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. >
    HI
    IN FM I HAS BEEN POSTED ONE TRANSACTION FOR  A PARTICULAR G/L ACCOUNT.
    AFTER THAT I WANT TO CHANGE THE FINANCIAL TRANSACTION FROM 30 TO 50.
    SUGGEST ME IF ANY ALTERNATIVE WAY.
    HOW IT POSSIBLE ?
    THANKS & REGARDS
    MALA

    It's not possible with standard functionality. Create a new CI and use it instead of the one defined incorrectly.

  • How do i turn on my ipod touch after it has been reset?

    this ipod touch doesnt have a camera on it so its the old one and it has been reset and now when i hold down the top button the apple sign shows up for a secod then it turns back off

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • How to change the IO status to CLOSE after it has been settled through ko8g

    hi ,
    I have the following scenario : An internal order is assigned to a PO and after setllement of such an order i need to CLOSE the order .
    The PO has a GR done (no IR) . Currently Internal Order is in the status : TECO [technically complete] and setlement has ben doneusing Actual Settlemnet Run using KO8G.
    Now i need to change the IO status to  [ CLOSE ] : it is gving an error in KO02 : Balance is not zero .
    How  to change the Internal Order status to CLOSE or rather how to make teh balance in that Order toZero?
    Is it reqd to process some GR's for teh same PO ?
    Thansk
    Trina

    Hi,
    Check the order balance in Ko02
    Menu -->  Extras  -->  Order Balance if balance exist it means that the order has not completely settled.
    Regards,
    Raj

  • How can I safely delete a questionable email after it has been downloaded?

    Norton tells me it will scan for virus if I use outlook or outlook express, but in certain cases not for thunderbird. what are the exceptions? What should our proper procedure be?

    I think you're looking for '''right-click, delete''' as a way of deleting a message without opening it.
    However, in most cases, the dangers of viewing suspect email messages are usually overstated. Unless you follow links, or download and unzip or open attachments, they are unlikely to do you any harm, particularly in Thunderbird where scripts are not permitted to run.
    To be ultra cautious, you could view messages off line, or disable live content by viewing in plain text only.

  • How can I recover pictures from iphone 4 after it has been restored to factory settings

    My little cousin was playing with my iphone and restored it to factory settings. Is there a way to retrive my pictures on the phone? 

    My pictures have been backed, but not for the last 3 months. Does this mean the ones that are not backed are lost? .... right now it is asking if I want "restore to new iphone" or "back up from itunes"  ... which would you recomend I choose.. and is there any other way to get back what was lost?
    Thanks for your reply.

  • How to pass a String and make it as Color Object

    I need to set a background color dynamically...but the value that i pass is in string format. How can i convert the string into Color format so that i can use the method setBackground(Color.blue) method. How to pass the string into the 'Color.blue' ?

    Let param="red"
    Class cls = Class.forName("java.awt.Color");
    java.lang.reflect.Field fld = cls.getDeclaredField(param);
    Color clr = (Color)fld.get(null);
    You can use this 'clr' variable as you wish.
    null

  • How to pass  internal table values to parameter

    hi,
             how to pass  internal table values to parameter in selection screen.if is it possible means please sent codeings.
    thanks.
      stalin.

    hi,
    tables : mara.
    data :  begin of itab_mara occurs 0,
              matnr like mara-matnr,
              ernam like mara-ernam,
              end of itab_mara.
    selection-screen : begin of block blk1 with frame title text-001.
    parameters : p_matnr like mara-matnr.
    selection-screen : end of block blk1.
    select matnr ernam from mara into corresponding fields of itab_mara
                                                                    where matnr = p_matnr.
    loop at itab_mara.
    write :/ itab_mara-matnr,
               itab_mara-ernam.
    endloop.
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

  • How to forbid any further changes for PO (QTY and price ) after it has been

    Hi,
    How to forbid any further changes for PO (QTY and price ) after it has been done GR and LIV? Thanks.

    Hi,
    Price anyway cannot be changed once GR is posted on the PO item, it can be changed only by cancelling the GR, the same applies to IR too.
    But quantity can be changed at any time.
    So if you are looking at blocking qty too, then a customized message through save exit is the option, I am not aware of any standard SAP messages that can be configured to achieve this..
    Ramesh

  • How do I change icloud email when my apple ID has been updated to new email? Because of the update on apple ID, when I try to delete icloud account I have to put in the password, and it says username or password is invalid (because no longer apple ID).

    How do I change icloud email when my apple ID has been updated to new email? When I try to delete icloud account (in settings-icloud-delete account) I have to put in the password for the apple ID of my old email address, which is no longer my apple ID, and it says username or password is invalid (I'm guessing because that is no longer my apple ID).

    You will wait for the rest of your life. You need to fix it; no one else will. To turn off "Find my iPhone" and its associated Activation Lock you need the Apple ID and password that were used to turn it on. If you know the Apple ID you can contact Apple Account Security and have them reset the password (after you prove you are the rightful owner of that Apple ID). see: http://support.apple.com/kb/HT5699.
    If you don't know the Apple ID the phone is permanently unusable.

  • How can I have my iTunes account back after apple has disabled it?

    My Itunes Account has been disabled for not paying . after that I payed and they took the moeny owed.
    but still my account disable.
    How can I have my iTunes account back after apple has disabled it?

    contact iTunes support team

  • Updated my iPhone 5 to ios7, in the App store after installing updates I now have a never ending list of the Apps I've updated.  How do I get rid of the list after they've been updated?  In the previous version I did not have an annoying permanent list.

    Updated my iPhone 5 to ios7, in the App store after installing updates I now have a never ending list of the Apps I've updated.  How do I get rid of the list after they've been updated?  In the previous version I did not have an annoying permanent list.

    iOS 7 allows you to have your apps update automatically. Therefore, the list of what has been updated stays so that you can see what was updated, when and what the release notes say. It has been suggested that they list has a limit, much like Recents. Currently, there is no way for the user to delete the entries manually. Just try not to look at them.

  • How can I recover my deleted web history once it has been cleared?

    in the Tools tab, there is a Clear Recent History function. In this, you can choose the time stipulant which you would like to be cleared... Once this is done, how can I recover the Recent history to see what has been browsed?

    Once deleted it can not be recovered.

  • How do i get back my stateful session bean after it has been passivated

    hi ,
    How do i get back my stateful session bean after it has been passivated by container.
    i'm confused that is it possible or not .......give me answer
    i've one stateful sessionbean which i'm accessing throgh my normal java client . now what i'm doing is when i first time call a method it is running ......then i'm shutting down the server jboss .......it is calling my ejbPassivate() method ... at this particular time client program doesn't do anything.....
    now after i restart my server i'm again calling back that business method with that last object reference.......it gives me the exception given below.....
    java.rmi.NoSuchObjectException: no such object in table
    java.rmi.NoSuchObjectException: no such object in table
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
         at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
         at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:106)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
         at $Proxy1.makeNewAcc(Unknown Source)
         at client.GanJavaClient.main(GanJavaClient.java:46)so pls tell me that is it possible to get back that session besn or not

    Stateful session beans are not persisted across restart of the EJB server instance(s) hosting them. You can't treat a Session bean as one would an entity bean.
    Chuck

Maybe you are looking for

  • Video Output to NTSC monitor

    I recently got new furniture, so of course, I unhooked everything and moved it around, and now, for some reason, I can't see video on my NTSC monitor. I know everything is hooked up correctly because I can log and capture and see video on the monitor

  • Problem with CONVERT_OTF, special character '-' printing not properly

    Hi experts, when printing PO item text; in Print Preview, text displays correctly. But in program by using 'CONVERT_OTF' FM output is converting into PDF and this PDF is send it to the PO creator through mail,   In the PDF present in the mail, the sp

  • How can I get rid of FCP?

    Hi There, FCP 5 will no longer launch on my G5 dual 1.8 OSX 10.3.9. I've repaired permissions etc. with no luck. All I want to do now is delete the program, however whenever I drag it to the trash (and try to empty) I get a message saying that EDL Ex

  • Unable to copy Transaction in Oracle recievales manager

    Ebs 12.1.3 oracle receivables manager steps to reproduce the problem receivables manager>transactions>copy transaction after querying the transaction number in the schedule section number of days and first gl date gives error ERROR An Unexpected Erro

  • BW-BASIS communication

    Dear All,          I am a new BW guy.My team is about to enter their first SAP Implementation project. What are the prerequistes I have to provide the BASIS guy with on BW? for e.g type of filesystem, SAN , partitioning of space , job allocation etc.