Getting the ascii code for null

i want to get the ascii code for null and append it for n number of times as string and return it.

check whether it is correct
public static String createNULL(int number){
          String     nullValue = new String(new char[number]);
          System.out.println(" String nullValue"+nullValue);
          System.out.println("length :"+nullValue.length());
          return nullValue;
output i am getting is
String
nullValue.......................................
ength: 35It's correct.

Similar Messages

  • When I try to get the key code for office it tells me its already been used.  My mac had a new hard drive in its first year, could it be because of this?  How can I get the office I've paid for but never used?

    My mac had to have a new hard drive in its first year.  Now, when I try to get the key code for office it tells me its already been used.  How do i get the office I've paid for but never used?

    The product key is sent to you by email as part of the purchase confirmation.
    If you have lost it, log into your Microsoft account.

  • TS1702 I cannot get the activation code for the viber...I live in Uae

    ..............Hello, I cannot get the activation code for the viber, i live in UAE
    <Personal Information Edited By Host>

    Since your question is related to Microsoft products, I suggest you post your question on their own forums for their Mac software:
    http://answers.microsoft.com/en-us/mac

  • HT1904 I have failed to get the gift code for my iPad. So how can I go about that?

    I have failed to get the gift code for my iPad. So how can I get it?

    What gift code?

  • I am trying to install MS Office for Apple, no to get the activation code for it you have to go through windows live , now I tried to sign in and been so long I forgot my password, so I tried to rest it the way they say to and keep getting invalid id and

    I am trying to install MS Office.man 2011 and when I get prompted to go get the activation code on line I have to log on with my windows live id. I had one when I had a pc and have since forgot my password so I enter my live id and goto the rest password screen, when I fill out the way they want I get an error message that says my live id is invalid, so I tried to start a new account and I use my email like they say and I get, that email already has a account and to try resting my password. anyone else have this issue?

    Since your question is related to Microsoft products, I suggest you post your question on their own forums for their Mac software:
    http://answers.microsoft.com/en-us/mac

  • I am getting ready to wipe a PC clean but wanted to know how to get the activation code for the Version of Adobe reader that is currently installed on the PC?

    I do not have the activation code for this PC and need to know how to get the software loaded back on it after a clean install of the OS and other programs.

    If you use any additional subscription services to Adobe Reader, they are activated with your Adobe ID & password.

  • How can I get the ASCII code instead of Unicode?

    If I use getNumericValue to return the Unicode of a character, I found out "a" = "A". Is there any way I can find out the different code for capital letter and small letter? I'm thinking about ASCII code, any suggestion for which method to return the ASCII code?

    That is not what getNumericValue does. (Try getNumericValue('*'), for example, and you will see it returns -1.) If you want to find the Unicode value of a character, simply cast the character to an int:char letter = 'A';
    int unicodeValue = (int)letter;If the character you chose was in the ASCII character set, you will automatically have its ASCII code, because ASCII is simply the first 128 characters in the Unicode character set.

  • HT4799 where do i get the activation code for netflix access?

    Where or how do i get the Apple TV activation code for netflix access?

    been on the dvd plan for a long time... just rec'd and setup my new Apple TV; logged in to my account vai the Apple TV and now i'm getting "Accessing Netflix" on my tv screen but nothing happening
    went to Netflix support to activate a device... the instructions say i need both the device and my computer connected to the internet to activate... and there's a entry field to "enter code..." and an "activate button"
    thus my question re: getting the activation code...

  • How can I get the connection code for the magic track pad?

    I want to use my magic trackpad and I scrapped the box with the connection code. How can I get it again? I don't need it for Mac, but yes for windows...

    user570667 wrote:
    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Is there any differnce between the Numeric Limit Test source code from TestStand 3.0 to TestStand 3.1? How to get the source code for the Numric Limit Test for both the versions?

    I need to know the differnece between the Numeric Limit Test between the TestStand version 3.0 to 3.1. If there is any differnec in the source code how to find it out? If somebody has the code can you share it?
    Thanks,
    Jeyan

    Hi,
    I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
    What has prompted this question?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Where can I get the source code for sun classes?

    Hello,
    When ever you download sun's j2sdk, the archive always contains the source code for the entire sdk in a zip file called src.zip except the sun.xxx classes like sun.awt.print.PrintDialog or sun.awt.font.FontResolver.
    For debugging purposes I need, if availabe, the source code of these classes which are not present in the src.zip.
    Please can someone tell me if theses classes are available as source and can point me where I can find it cause I am searching for it but can't find it on the net.
    Thank you
    Carolin

    Hey ChuckBing
    And your way is the only way, right? No.What on earth is eating you? Highly sensitive today?
    Where is the problem? There are two solutions of the question.
    The one link I posted points directly to the sun source download link. The "readme" explains, yippie, the sun sources are contained. Easy, isn't it?
    With the other one, you have to navigate at least through two other pages before you might find the link and only if you recognize that "Download JDK 5.0 source via SCSL/JRL" means the sun source code and not the sources contained in the JDK download. This is what I thought as I've seen this link the first time. Unfortunately there is no "readme".
    I prefer the easy way, I dont want to earn a doctorate. Ok, you can say dont "play the woman", but I'm a woman and a blonde too;-)
    But, let us stop the idle discussion here, please!
    Nevertheless, thanks to you and [email protected] for answering.

  • How can I get the verification codes for system updated

    I still can't get the verification codes to be sent to my mobile phone after I updated my system to ios 8.0 since yesterday

    Hello Slordan2012
    Log in to appleid.apple.com and resend the verification email to then verify the address. If you cannot get pass that, then you can always force the restore on your iPad and then enter in the password to bypass trying to turn it off.
    Apple ID: Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/he68
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808
    Regards,
    -Norm G.

  • How can I get the PUK code for my SIM card?

    I had to do a factory reset this morning on my DROID RAZR. As I was going through this afternoon setting everything up again, I saw that I could set a password for my SIM card. I thought it was asking me to create a password, not enter a default one. So needless to say, I locked myself out of my phone, and I need the PUK code. I cannot call, this is my only phone, and I cannot go to a local store today or tomorrow. I also cannot go the next two days without my phone. I've tried doing a chat, but because it's only sales that communicate through the chat, they were less than helpful and told me I can only fix this by going to a store, which I can't do.
    So, can I chat with anyone to get my PUK code today via internet?

    Why is this working for everyone, but me? When I follow these instructions (and many others that I've found in this community -- which has been helpful with other matters thus far) There is no PUK or SIM information. I have an (ESN) and my phone number. that's it. Help! I'm in a rabbit hole!
    Many thanks for any support you can provide!

  • Not Getting the Promotion Code for Trade In and Up program

    I was lured into buying a new phone from Verizon due to the trade in and up program.  From the website it says I could get a minimum $100 for my old phone when I purchased/activated a new smartphone.  I activated my new device and have been waiting for more than 5 business days for the promo code but it never arrived. I called both Verizon customer service and Verizon recycle program but they cannot help much since they can only escalate the issue.  Now I really doubt if this is a legitimate program?  Does anyone else have the same issue? Did you contact anyone who can help you?

    Karen,
    I was trying to take advantage of the "Trade In and Trade Up" promotion.  I was supposed to get a promotion code 5 days after activating a new phone.  Almost 3 weeks after activating a new phone I hadn't gotten a promotion code.
    Anyway I finally got the promotion code after 4 phone calls (2 to verizon, 2 to the recycling program).  So now I'm on to the next step and have submitted my phone trade in information.  We'll see if I have the difficulties others have described on the forums here.
    However, even if everything goes smoothly I've already wasted almost an hour of my time following up on something that should have just happened.  I would imagine most Verizon customers find it annoying to have their time wasted.
    Regards...

  • How long does it take to get the upgrade code for mountain lion?

    after submitting the online form how long does it take to get the code emailed from Apple?

    sent a complain at around 9:30 PM (PH time) and got a reply at around 11PM. Got the code at around 1PM today.

Maybe you are looking for