package com.bao;
public class Print1 {
int x;
void output()
{
if(x==1)
{
System.out.println("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
}
if(x==2)
{
System.out.println("abcdefghijklmnopqrstuvwxyz");
}
}
}
主类
package com.bao;
public class Print1 {
int x;
void output()
{
if(x==1)
{
System.out.println("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
}
if(x==2)
{
System.out.println("abcdefghijklmnopqrstuvwxyz");
}
}
}
主类
转载于:https://www.cnblogs.com/nicebaby/p/5878054.html