Day 8 – Learning Android Development

Today I focused completely on Java, I looked at the TheNewBoston’s tutorial videos on Java. I felt I needed more background on the language I’m using to create apps so today and for the next 2-3 days I will look at all the beginner tutorial videos. He has around 87 for beginners. After that he has a series on more advanced java but I don’t think I need that right now to develop simple apps.

The videos went of course on the basics, most of them I already knew from before but it’s good to see the good way of writing java. I learned what a scanner was for user input. How to use other classes inside a class. First I thought it could only be done by importing but now I know it can be done by the statement: ” Classname objectname = new Classname(); ”  if your class is in the same source.

I met the while loop for the first time in java, not really that different from python. Conditionals I had already met before during some app development. Something new was how to make a constructor method, it must have the same name as the class and is used to pass a parameter directly when you create an instance.

Lots of other stuff were shown during the 20 first videos that I knew of but did not know how to implement them in Java, so these videos are really helping me a lot.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *