Programmers take you on Android development, 10-day Quick Start-Basics (iv)

Source: Internet
Author: User

Focus on today's headlines-do the full stack siege Lion, learn the code to read, love the whole stack, more love life. Provide programmer technical and life guidance dry goods.

If you really want to study, please comment on each article that you have learned, and record the traces of your studies.

Please write the code mentioned in all the tutorial articles at least three times to achieve a familiar effect.

This series of courses is. NET programmer to learn a series of Android development courses.

Here are the top three course listings:

Programmers take you on Android development, 10-day Quick Start-Android Learning Imperative

Programmers take you on Android development, 10-day Quick Start-development tool configuration Learning

Programmer takes you to learn Android development, 10 days fast into-contrast C # learning Java syntax

In order to make the system effective quick-start Android development, we recommend that you follow the sequence of the system to watch this series of tutorials.

Keep an eye on the Japanese headlines-be a full-stack siege lion, and focus on more full-stack content.

This lesson four, this is the main explanation of the basic Java syntax. The main contents include the following:

First Java program: Hello World

Common Type Conversions

Select structure and loop structure

Java object.

To create a new project first:

We open the As development tool. This is what it looks like by default:

We chose the first option to create an Android project.

Follow the default direct next click on it. Go to the main interface

We open the Items tab: Select by option.

We choose test, which means that we will automatically generate a test project when we create a new project.

We are learning the basic grammar of Android through a test project. After you expand, open the Exampleunittest class.

Let's just write about the legendary Java HelloWorld.

We can run this unit test in Exampleunittest by right-clicking.

That's right! System.out.printf ("Hello World"), equivalent to our C # Console.WriteLine ("Hello World");

System.out.print ("Hello World"), equivalent to our C # console.write ("Hello World");

Common Type Conversions

Select structure and loop structure:

If statement

For loop

There is no difference between finding and C #. Yes, Java and C # are so similar

Java objects

Create a new class: Creates an object as shown student

Java class look at a large overview:

For more tutorials, you are welcome to focus on today's headlines-making full-stack siege lions. Talk about learning together. A little information, Sohu Media platform, QQ public platform, public platform. Penguin Media platform, UC subscription platform, Baidu release platform are "Do the full stack siege lion." For all resources in this tutorial, please follow: Fullstackcourse. Click below to focus on: Today's headline is the starting platform. We can also add QQ Group: 538742639, work together. More than 300 technologies Daniel is waiting for you.

Next article Link: Android Step-up from the basics to self-Mastery tutorial, pure combat, pure Dry Goods (five)

Programmers take you on Android development, 10-day Quick Start-Basics (iv)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.