My problem is that whenever I try to learn a new programming language such as Java, I start and give it up after 2-3 days. If I think about starting to practice programming I feel it's a very boring task. Again after a few days I feel that I should learn Android app development and I start a little and I give it up after 2-3 days. I feel that I lack motivation.
Also I feel that I should have updated software and language documentation/tutorials but still I can't start the actual task. If I start somehow I waste my time by surfing the Internet. This has been happening for almost a year and I can't concentrate on one thing. I can't stick to one thing for a long time. I can't control myself. Please help me overcome this. What should I do to remain creative and focused on tasks? Also I'm so addicted to the Internet, please help me with this as well.