20165221 Java first week learning experience and experience

Source: Internet
Author: User
Tags java se

Theoretical learning of getting started with Java

In the course of JAVA2 using the tutorial, it is divided into the following modules to explain

  • The status of Java
  • Features of Java
  • Installing the JDK (Java develepement Kit)
  • Development steps for Java programs
  • A simple Java application
  • Java Anti-compilation
    It focuses on the status, features, installation of JDK, development steps, and simple applications .

    Features of Java
  • Simplicity is relative to C + +, but this does not mean that Java is not powerful and is not widely used.
  • Object-oriented fourth chapter of the fine Talk
  • Platform-Independent
    Platform = Operating system (OS) + CPU, for example C language learning dependent platform , and in Java, there is a JRE as a mediator, instruction does not directly deal with the operating system, through the virtual machine generation (. Class), and then the instruction into the real code of understanding .
  • Dynamic
    When the code is run, the class library code is loaded, and the Class Library machine code is automatically generated when it is not displayed during compilation.

    Installing JDKJDK Classifications
  • Java SE (Standard platform)
  • Java EE (Enterprise platform) contains Java SE and class library attached
  • Java ME is not used now
    Install the process slightly, follow the installation video operation.

    Java Development steps to write source files
  • To use Notepad, the name of the source file is a class name + extension name (. java)
  • Save type to select all files, encode (ANSI)
  • When there is a public class in the source file, the name of the source file must be the name of the class
  • there is at most one public class in the source file

    Compile the source file,
  • To use the compiler (Java.exe) to get the bytecode file Javac hello. java
  • Java main class name at execution time

    Problems encountered in the actual operation process
  • Install Git

    In the official website is always failed to download, finally through the copy of the students to install. It's still not clear why downloading on official website always fails
  • Open git

-encountered in code cloud creation

began to be selected as the GPL v2
-Cannot copy and paste when cloning a connection

-When you get the script, you are eager to commit, after the input git push , the first time forget the code cloud password , and finally through the QQ mailbox reset.

    • The second is in the loading page after entering the password, see that there is no display, and repeatedly entered the git push, resulting in the submission is not always, ask the classmate, may be the submission needs to load, and finally repeatedly entered the
      git add git commit -m "finished Hello World program"
      And wait for a while to upload successfully!

      Learning experience

      This week's learning is a mixed emotion, from the beginning to see the net lesson video confused, a little to remember,

      To later git, always download unsuccessful, in the library, borrow the next classmate's U disk, copy the classmate, and finally installed on the computer, is, very twists and turns.
      When learning a simple tutorial, but also twists and turns, may have been relatively lazy, the weekend afternoon has been engaged in the evening, always want to quickly finish, the tutorial Yimushihang, and then enter the code is always wrong. Finally look at the tutorial three, step by step operation, finally came to this end, and stuck, submitted not on .... Simply to collapse, fortunately, the final submission on the, although more than their own time to make a delay of about half an hour or so, but still super happy!
      The first week's homework, oneself should be counted earnestly completes, hoped can maintain this kind of study vigor, although oneself Foundation is not very good, but in own effort and schoolmates ' mutual assistance, also can complete the task.

20165221 Java first week learning experience and experience

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.