[b]Getting error message in declaring char as '\u000d'[/b]

Dear sir,
i recently attended a java online exam from which i got the question which is given below,
char c='\u000d';
Is this a valid declaration or not?
When i tried later. i got an error message indicating as "invalid char constant" like that...
I came to know that \u is an escape char and the char encoding is UTF-16 in java.
Can you explain why i am getting the error msg?
Sudheesh
India

I don't know if this is right, but I would assume in Java if you are declaring a variable of type character, you don't need to encode it yourself. Only when you are working with files and streams and such should you need to worry about that. the Java VM should do that automatically for you.
I would say:
char ch = 'c';
and that should compile fine.

Similar Messages

  • Wont print get error messages works fine on internet explorer

    Any time I want to print something it gives me an error message.This has happened for a while.Warning: Error in parsing value for 'filter'. Declaration dropped.
    Source File: https://support.mozilla.com/media/css/questions-min.css?build=2d0a4d1
    Line: 1Warning: Error in parsing value for 'display'. Declaration dropped.
    Source File: https://support.mozilla.com/en-US/questions/new?product=desktop&category=d6&search=wont+print+get+error+messages+works+fine+on+internet+explorer#ask-search-form
    Line: 0 just a few of the messages

    Try the '''''reset''''' described here: <br />
    http://kb.mozillazine.org/Problems_printing_web_pages#Reset_printer

  • Wont print get error message

    every time I want to print something i get several different error messages If i got to internet explorer it works fine
    Warning: Error in parsing value for 'filter'. Declaration dropped.
    Source File: https://support.mozilla.com/media/css/questions-min.css?build=6cb06b5
    Line: 1
    Warning: Error in parsing value for 'display'. Declaration dropped.
    Source File: https://support.mozilla.com/en-US/questions/new?product=desktop&category=d6&search=wont+print+get+error+message&showform=1#question-form
    Line: 0

    Try the '''''reset''''' described here: <br />
    http://kb.mozillazine.org/Problems_printing_web_pages#Reset_printer

  • Cant open itunes. get error message 7 followed by error message windows error 127.     i have redownloaded new updates with luck.   window xp

    cant open itunes. get error message 7 followed by error message windows error 127.     i have redownloaded new updates with luck.   window xp

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it, which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • I keep getting error message when trying to sign in for iMessage with my Apple ID since upgrading to iOS 7

    I keep getting error messages when I try to activate iMessage on my iPad since installing iOS7. Anyone else having this issue or a solution. I can obviously sign in with the same Apple ID information/password as I have done here and I am connecting with Wifi now and in all other apps.

    After looking at some other posts I signed into iTunes and edited my password with my Mac. Then I powered off and restarted my iPad and all is good now.

  • Keep getting error message when trying to sign in to make a Genius Bar Reservation

    Keep getting error message when trying to sign in to make a Genius Bar Reservation

    Make the reservation by phone. 

  • I get error message "unknown error" When trying to log on to itunes via pc, help please!

    I get error message "unknown error" When trying to log on to itunes via pc, help please!

    Hello, trolle56.
    Thank you for the question.  You may find these articles helpful in troubleshooting the error received with the iTunes Store. 
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    Jason H. 

  • HT204053 In iCloud setup my apple I'd is not accepting. Getting error message it should be  an email I'd, but my my apple Id is just in user I'd form? Please support.

    In iCloud setup my apple I'd is not accepting. Getting error message it should be  an email I'd, but my my apple Id is just in user I'd form? Please support.

    I've tried both. First, I tried on my pc, where iTunes had installed iCloud when it last updated. I have iTunes installed on this computer (and on my iPad and iPhone), but that wasn't the issue.
    So I went online, thinking I needed a separate iCloud Apple ID, but it prompted me for my current Apple ID and gave me the message about my ID being "valid" but not an iCloud account," which, lol, was what it had asked me to do in order to create one. I checked, and at least one other user is having the same issue. I'll attempt to copy/paste the Support request url: https://discussions.apple.com/thread/4430653?tstart=0
    Thank you for any help you can give.
    Trish

  • I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I get error message: not enough space to download when I try to buy a tv series on Itunes. It tells me to delete photos or videos to make space, but I have no photos and videos. Help?

    I would guess that a TV series takes up a fair amount of storage capacity. It is just a standard message I think that may indicate that you are actually running low on storage space.
    If you go to Settings>General>About how many GBs are specified as being available?  If you are low on space maybe deleting some apps may help.

  • TS3258 I get error message -42408 when trying to download itunes update 11.0.2 and thus can not upgrade to latest version.  What should I do?

    I get error message -42408 when trying to download itunes update 11.0.2 and I therefore can not update to that latest version.  What can I do?

    Hey there davidgor2!
    I have found an article that should help you resolve this issue with updating your iTunes. The article can be found here:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    and the specific part of the article you will want to look at first is right here:
    "Error 42023" through "Error 42408"
    These alerts might occur when trying to authorize iTunes or during launch when iTunes checks for authorization information.
    Install the latest iTunes from apple.com/itunes/download/
    Remove the SC Info folder.
    If that does not resolve the issue, see iTunes: "Error 42408" or "Error 42404" after upgrading to iTunes 9.0.3.
    Thanks for using the Apple Support Communities!
    Regards,
    Braden

  • After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous peopl

    After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous people call and ask why I didn't reply to their texts...and I look, but have not received any new texts. YES, I have restarted phone. I have cleared data as well as cache on all apps. I have downloaded the vzw messaging app, which seems silly, since it happens with several different processes and apps, but all to no avail. I am missing texts from my employer, from my family. This did happen, but rarely, before this "soak test". It is now Kitkat version 19.6.3.obake_verizon.en.US. THIS is when I started having problems...like 50 times a day kind of problems! I have seen hundreds of posts all over the internet over the past 3 days. Does no one know how to fix this??? Shouldn't there be a way to revert phone to a pre-update state? and no, hard reset did NOT work!!!! I have been with verizon for well over 15 years, but I have not upgraded my lines and will not in July either. This is ridiculous. It's not like my games aren't working, it is my messaging and "android os"...my lifeline at work!

    kristinaf333,
    Oh no, I am sorry to hear your messages are not working since the software update. I greatlly appreciate doing all that troubleshooting to try and get the messaging application back in business. I know how much I rely on my messages so I can understand the urgency to get this resolved. Have you had a resolution ticket opened since you started experiencing issues with your messages? Does this happen with all contacts or just some? Please provide additional information to ensure we get to the bottom of this for you.
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • Tying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel.  Help

    am tTying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel. Can anyone help me?

    Hi,
    Here is a similar thread for your reference:
    There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control panel
    http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/036e3cf6-bff7-4ef2-bd0a-555cd2399ad4
    Hope this helps
    Vincent Wang
    TechNet Community Support

  • I get error message when I try to load lightroom 5 -unable to laod application correctly (oxooooo7b)

    I get error message when I try to load lightroom 5 -unable to laod application correctly (oxooooo7b)
    what can I do

    Search here or Google ... https://helpx.adobe.com/lightroom/kb/error-unable-start-correctly-0xc00007b.html

  • I get error message when trying to add key tags

    I get error message when trying to add key tags

    You should always backup your iPad before ever doing anything major that coould result in a catastrophic loss is something goes wrong. You can then usually restore from the backup when your iPad has recovered.
    You should also be sure to have transfered any new purchases directly to your iPad to the iTunes app on your computer on a regular basis.

  • I get error message on my ipad mini OxE800000A it worked okay a little while ago

    I get error message on my ipad mini OxE800000A it worked okay a little while ago

    Try the following document:
    iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting to a Windows PC

Maybe you are looking for

  • How can I improve my FMS performance?

    Hi... I have two FMS 3.5 streaming servers... Both have Windows Server 2003 x64 with 16 GB of RAM... I'm streaming from a common storage and my Application.xml file is like this: <Application>   <StreamManager>     <VirtualDirectory>       <!-- Speci

  • Why T60 do not have S-video?

    To my amazement I have found that there is no S-Video port in T60 that I bought in Jan'08. I was so disappointed to find out, that there is no way that I can connect my laptop with my TV(except buying new hardware- which is of course not a good optio

  • How to create form fields in Adobe Professional version 8

    Hello, I have been trying for some time now to get a form in place. I have used an existing form and I am working in Adobe Professional version 8. I went to tools, forms and than I thought I had to click on text field tool. But than it asks me to nam

  • Not able to find the mapping for table W_CUSTOMER_STATUS_HIST_F_TMP

    Hi All, I have implemented the Out of Box solution of Order Management Analytics module with 11.5.10 version of Oracle EBS and respective adopters. Under the same I am not able to notice any mapping to load the data into W_CUSTOMER_STATUS_HIST_F_TMP

  • Link to google map in cell phonee

    In one of the MUse training videos, Adobe Muse: Designing for Smartphones and Tablets they show putting a goggle map link in a cell phone page which gives driving directions This is NOT using the Muse google map widget. They do not show how to create