The Symbol can't get resolved
Anybody can tell me what is wrong with my nHats in the conditional operator? Thank you!
public class ConditionalOp {
public static void main (String[] args) {
int nHats=1;
System.out.println("I have"+nHats+"hat" +(nHates == 1 ? "." : "s."));
nHats++;
System.out.println("I have"+nHats+"hat"+(nHates == 1 ? "." : "s."));
}
Please ignore this question. i am so dump that nHats =nHates! was in my mind
Similar Messages
-
m trying to restore backup on i tunes but have forgot the password can i get passed it please
Hello there, hullmartyn.
The following Knowledge Base article provides the options available for resolving the issue you are describing:
iOS: Forgotten passcode or device disabled after entering wrong passcode
http://support.apple.com/kb/ht1212
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.
AshwinVC wrote:
I reset the system and issue gets resolved.
How? -
Has any one experienced not being able to send mail and only receiving some? I get the message " can not get mail. No connection to the server! " Yet I get some mail but can not send out any. My iPad is only 1 month old! It worked perfectly for about 10 days.
Thx
AgnesHey agnesfromcopenhagen k,
Thanks for the question. I understand you are experiencing issues with Mail on your iPad. The following resource provides some troubleshooting steps. What kind of account are you using? Some internet providers require that you be connected to your home Wi-Fi (or for work accounts, inside your corporate Wi-Fi/firewall). Also, some email accounts require two-step authentication. For more information, see this resource:
iOS: Troubleshooting Mail
http://support.apple.com/kb/TS3899
Thanks,
Matt M. -
If I buy a sim free phone here and take it to the Ukraine with me, can I get a card there in the Ukraine to use the phone with. If that is possible, when I return to the states can I get an AT & T sim card and the same phone work in the states? Thanks in advance for your help.
If you buy an unlocked phone, it will work on any compatible GSM network anywhere in the world. If you buy an unlocked phone in the US, it will not work on LTE networks outside of North America. The warranty is also only valid in the country where the phone was originally sold.
-
Hi, I have accidently sent my iPhoto from the dock to the trash, can I get it back? I've searched the trash but can't find it, my photos are still in the computer, but I can't access them with the iPhoto icon in the dash.
See this,
I lost my Safari /other on the Dock! "poof" "?" -
I have a net gear wireless router and a APE working great inside the house, but the wireless signal is weak in the backyard, can I get a net gear extender for the back yard and it will boost our wo
Ireless signal and also send my music to the airport express? Or does the airport express work as a stand alone hub?Trust me when I say this coming from 20 years of experience.
Get a powered external drive, format it 1 Partition Option: GUID and OS X Extended Journed as the format in Disk Utility.
Download and install Carbon Copy Cloner, clone internal drive to external drive.
Set a schedule to remind you to do it at least once a week, keep it near your charger.
When you plug your charger in, do plug the clone and power the machine up, set the display to sleep only,
CCC will do the rest.
If you want to boot from it, hold the option/alt and select it Startup Manager.
I've seen many TimeMachine and TimeCapsule nightmares and so far haven't seen a problem from anyone using a bootable clone.
It's simple, it's easy, it's more reliable and more powerful than what Apple does and it only takes plugging in a extra cable.
Make as many clones as you want, keep them time seperated, off site etc. etc.
Cables don't have network issues, clones can be verified in seconds merely by booting from them.
Clones protect your productivity, your up in seconds on a clone despite even the hard drive dying.
Software problem? No sweat, boot of the clone and reverse clone your problems away.
If you want to fuss and muss with half implemented TimeMachine and TimeCapsule network headaches then prepare to suffer.
I don't like to suffer, I bought a Mac not to suffer, but it appears you do with TimeMachine and TimeCapsule.
Most commonly used backup methods -
I bought a EarPods October last year in the USA, the day before yesterday the remoter can not work any more, it means by the EarPod still can listen music but can not adjust the volume and answer the phone, can I get a new one or what can I get based on the one year product warrant?
Now I am live in Baoding city, China, what I can do, it seems there is no apple store in my city??
-
I accidentally deleted an app that was not backed up to the cloud; can I get it back?
I accidentally deleted an app that was not backed up to the cloud; can I get it back? It wouldn't matter too much except that it was a paid app. A search of topics wasn't successful. I've learned a lot from these discussion support communities. Thank you for any help.
Download past purchases - Apple Support
-
I sold my iPhone 4s and the buyer can't get into it without entering in my apple ID, is there a way to bypass this? I have deactiviated via my laptop but not on the device itself, i also restored the iphone to its factory settings.
"is there a way to bypass this?"
Only by you eitehr giving the new user your iCloud username and password or by you getting the phone back and entering it yourself. -
if i didnt back up before upgrading the OS, can i get any data back after my last restore date?
thanks - thought as much my own fault then - should have backed up before upgrading, you just dont expect it to affect the files stored, rather just the OS itself (bit like a PC if the same happened)
-
If I take my original iPad to the store can I get the software updated?
If I take my original iPad to the store can I get the software updated? My home computer does not have room for the backup.
Well, you can do that, but your iPad will be totally erased and you will have to start from scratch. You need to backup your iPad and sync with iTunes before you install the update, because the updating process will erase the iPad completely. The reason that you should use your own computer is so that you can restore from the back and then sync all of your content back to the iPad.
You might want to think about the bigger picture and do something to move some of your files off of your home computer because if the hard drive is full, you are going to have computers problems as well, down the road. There are many inexpensive external hard drives available and you might want to take a look at one. -
i get ipad mini 3 weeks ago and unfortunatelly had an accident and broke the screen. can i get it fixed?
Apple's Limited Warranty http://www.apple.com/legal/warranty/ for iPad excludes coverage for damage resulting from accident, disassembly, unauthorized service and unauthorized modifications.
The warranty will apply to the country of purchase. And if there is a problem needing repair you have to return it to the country of purchase.
Out-of-Warranty Service
If you own an iPad that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will replace (Apple doesn't repair) your iPad with an iPad that is new or equivalent to new in both performance and reliability for the Out-of-Warranty Service fee listed below. (The replacement will most likely be a refurbished iPad in a brown box, however, it has a new screen, back and battery.)
iPad model
Out-of-Warranty Service Fee
iPad mini
$219
iPad 3rd, 4th, Air
$299
iPad 2, iPad
$249
A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in US dollars and are subject to local tax.
Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPad that has failed due to contact with liquid may be eligible for out-of-warranty service. See http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad
Make a Genius Bar Reservation
http://www.apple.com/retail/geniusbar/
You may can get the iPad repaired at 3rd party repair sources for less $, however, any remaining Apple warranty will be voided.
iCracked - Broken iPhone, iPod or iPad
http://www.icracked.com/
iReVamp Electronics Screen Repair ($99)
http://www.irevampelectronics.com/ipad-2-broken-glass-screen-repair.html
iPad Repair & Screen Replacement Services
http://www.ifixyouri.com/16-ipad-repairs
RepairZoom iPad Repair
http://www.repairzoom.com/ipad-repair.html
Mission Repair
http://www.missionrepair.com/Apple_iPad_Repair_Services_s/431.htm
iGadgetResQ
http://www.igadgetresq.com/ipad-repair/
Do It Yourself iPad Repair
http://www.ifixit.com/Device/iPad
Cheers, Tom -
Item - Can't set value on item because the item can't get focus. [66000-15
hi i created one text box in purchase order form and asign the choose from list.l when i choose in edit box its show the following error-- Item - Can't set value on item because the item can't get focus
Dim lonHeadDatasource As SAPbouiCOM.DBDataSource
lonHeadDatasource = oOrderForm.DataSources.DBDataSources.Item("OPOR")
oNewItem1 = oOrderForm.Items.Add("EditDS", SAPbouiCOM.BoFormItemTypes.it_EDIT)
Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
Dim oCFL As SAPbouiCOM.ChooseFromList
oCFLs = oOrderForm.ChooseFromLists
oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
oCFLCreationParams.MultiSelection = False
oCFLCreationParams.ObjectType = "INTORDER"
oCFLCreationParams.UniqueID = "CFL1"
oCFL = oCFLs.Add(oCFLCreationParams)
oItem = oOrderForm.Items.Item("4")
oNewItem1.Top = 95
oNewItem1.Height = oItem.Height
oNewItem1.Width = 140
oNewItem1.Left = 125
oEdit = oNewItem1.Specific
oEdit.DataBind.SetBound(True, "OPOR", "U_EditDS")
oOrderForm.Items.Item("EditDS").Specific.ChooseFromListUID = "CFL1"
oEdit.ChooseFromListAlias = "U_ID"
Item events
Try
If pVal.BeforeAction = False Then
If (pVal.FormType = 142) Then
Select Case (pVal.ItemUID)
Case "EditDS"
Select Case (pVal.EventType)
Case SAPbouiCOM.BoEventTypes.et_GOT_FOCUS
Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST
Dim bonCflEvents As SAPbouiCOM.ChooseFromListEvent
Dim bonCflList As SAPbouiCOM.ChooseFromList
Dim bnnstrUID As String
Dim bonDTTable As SAPbouiCOM.DataTable = Nothing
bonCflEvents = pVal
bnnstrUID = bonCflEvents.ChooseFromListUID
bonDTTable = bonCflEvents.SelectedObjects
bonCflList = oOrderForm.ChooseFromLists.Item(bnnstrUID)
If pVal.BeforeAction = False Then
If oOrderForm.Mode <> SAPbouiCOM.BoFormMode.fm_FIND_MODE Then
If Not (bonDTTable Is Nothing) Then
If bonCflList.UniqueID = "CFL1" Then
If pVal.ItemUID = "EditDS" Then
Dim value As String = Nothing
oOrderForm.Items.Item("EditDS").Specific.value = bonDTTable.GetValue(0, 0)
End If
End If
Else
lonHeadDatasource.SetValue("EditDS", lonHeadDatasource.Offset, "")
End If
End If
End If
End Select
End Select
End If
End If
Catch ex As Exception
SBO_Application.SetStatusBarMessage(ex.Message)
End Try
Thanks & Regards
B.NarainHi
Instead of oOrderForm.Items.Item("EditDS").Specific.value = bonDTTable.GetValue(0, 0) the following
lonHeadDatasource.SetValue("U_EditDS", 0, bonDTTable.GetValue(0, 0))
Regards
Arun -
ok i lost $10.84 becasue i got an album the name of the album is of mice and men i all ready and i got it again and i lost the money can i get help getting it back please i need help to get the money thank u
We are all itunes users just like you. We can do nothing.
If you bought the album again, then of course you were charged. There are no refunds.
You can try contacting itunes support and asking for an exception.
Maybe you are looking for
-
Hello. Will I be able to run Windows XP on a virtual machine (such as VirtualBox) in Mountain Lion? Currently, I have a Late-2009 MacBook with Snow Leopard, and I am planning on installing VirtualBox and Windows XP soon, then I'm planning on upgradin
-
How Do I Add 2nd Monitor using AppleTV?
I use a mid - 2012 Mac Pro; run Mavericks MacOS X 10.9.5. 1. I would like to know how to connect my SONY TV as a second monitor wirelessly using AppleTV. 2. Once 2nd monitor is connected: 3. What do I do to use the cursor and keyboard on the 2nd mon
-
Has anyone else experienced when you open a CS4 document in CS5 that it changes your formatted text into outline text?
-
Errors in enterprise manager logs
Hi, I don't want to duplicate threads, so please see the thread Errors in em logs Thank you.
-
Why does the "other" category take up so much space on my iphone?
I want to get rid of the "other category that is taking up so much space on my iPhone. It's taking up 2GB of space. Thanks!