Java pseudo-code of the Boulevard to Jane's reading

Source: Internet
Author: User

Import.java. Avenue to Jane . *;

Import.java. Yugong Yishan . *;

Public class yugongyishan//defines a class named Yugongyishan

{//Start of class definition

String is a foolish man , a descendant , a three-man of the Lotus ;

Boolean ifend=false;//Judge whether the mountain has been leveled

Void doIt ()//start to move Mountain

{

Shan sh=new Shan ();//Affirm the object of a mountain;

Shan. The =bigbignumber of the punishing mountain ;

A group of project organizers, group managers, programmers, technical analysts, etc.

The descendants of the three-person Dutch three technicians

The man is a foreign association

Goal for the flat Wang Huata two mountain

while (!sh.ifend)//If the mountain is not leveled;

{

Sh. Punishing mountain = sh. decrease in the number of -1;//in the Correctional Hills

if (Sh. ==0)//If Daishan has been leveled, make ifend=true

Sh.ifend=true;

Else

{

If (Fool's death )

{

A foolish male = The word of a foolish male;

Then let the descendants and descendants of the descendants continue to move Mountains ;

}

Else

{

The foolish Duke then moved himself and his descendants to the mountain ;

}

}//else End

}//while End

public static void Main (string[] args)//define main program

{

Yugongyishan yu=new Yugongyishan ();//Affirm a Yugongyishan

The object

Yu. DoIt ();

}//the end of the main program

End of}//class definition

public class Shan ()//define a Mountain object

{

Long Correctional Hill;

The =bigbignumber of the punishing mountain ;

Boolean ifend=false;//defines a Boolean object and initializes it to false;

}

Java pseudo-code of the Boulevard to Jane's reading

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.