Home > Back-end >  Small white learning Java (only to record the learning process - the first liu days)
Small white learning Java (only to record the learning process - the first liu days)

Time:09-23

Learning method is the content of the writing and calling today, this feeling began to be difficult, the feeling of a little fog, although look at a lot of examples, clear in concept, but his hand writing on them, are still a little feel under their

Another is the problem of the local variable, a bit not note, this variable will be mistaken,

For example:
1.
For (int I=1; I & lt;=10; I++) {

}

System. The out. Println (I);


Example 2:
For (int I=1; I & lt;=10; I++) {
If (I & gt; 5) {
Int num=10;
}
System. The out. Println (num);
}
System. The out. Println (num);

CodePudding user response:

Self-study or training
  • Related