The third week study summary and the first week of the experiment report

Experiment 7 title

1. printout of all the "number of Narcissus", the so-called "number Narcissus" means a 3-digit number, which is equal to the digits of the cube and the number itself. For example, 153 is a "number daffodils."

  1. Write Java programs, find the value of + 13-23 + 33-43 + 973-983 + 993-1003 ... of.

  2. Programming seek 1! +2! +3! + ... + 20 !.

  3. Write Java programs, the calculation 8 + 88 + 888 + 10 ... and before it.
  4. If it is exactly equal to a number of factors and, this number is called the complete number. All finished programming the number of output within 1000.

  5. Write applications, the output of the maximum positive integer satisfying 1 + 2 + 3 + ... + n <8888's.

  6. For the following cycle using FIG print (isosceles triangle)

    Experimental Summary: For these few questions is not difficult, the main one language turn another language transition, allow us to better understand the Java language, the Java language faster into the study, but said there are still routine the method is different! ! ·

    summarize

    1: Let's study this week in understanding a few key words (this (this represents the current object) static main method) utilization.
    2: The detailed explanation of the construction method of the establishment, the establishment of an object, incidentally, spoke anonymous objects, especially emphasized Let codes privatization.
    3: use the code to explain some key words will make it easier for us to understand the importance of this keyword, use the code says live more persuasive.
    4: The privatization of the code made me understand understanding of the role of setter and getter.
    5: Although I still have some places I believe I will be a little bit by the book. Come on, after all, a stage adaptation. . . .

    6: refused to accept yourself, then filling it.

Guess you like

Origin www.cnblogs.com/chenxinxin/p/11508435.html