private class SendData()
You have both method
and class
syntax here. Not sure which one you want.
If you want to define a class then remove ()
private class SendData()
You have both method
and class
syntax here. Not sure which one you want.
If you want to define a class then remove ()