java--2nd week Experiment--output 24 Greek letters __java

Source: Internet
Author: User
/* (Beginning of program header comment)
* Copyright and version of the Program statement section
* Copyright (c) 2011, students of Computer College, Yantai University
* All rights reserved.
* File name: Output 24 Greek letters

* Author: Lei Hengxin
* Date of Completion: September 06, 2012
* Version number: V1.0
* Description of tasks and solutions
* Input Description:
* Problem Description:
* Program output:

* The end of the comment on the program head



public class Input_abc {public
	static void Main (String args[])//Static entry method main;
        input ();//embodies object-oriented features;  
	static  void Input () {
		int i = 945,m,k=1;
		for (m= i;m<i+25;++m)
			System.out.println ("subclause" +k+ "Greek letter is:" + (char) m);//force type conversion;

Run Result:

Experience Accumulation:

public static void Main (String args[])//Static entry method main;
        Input ();//embodies the object-oriented features;  

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: 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.