运算符
class OperateDemo
{
public static void main(String[] args)
{
int x=4280;
x=x/1000*1000;
int a=3,b=1;
b=a++;
System.out.println("a="+a",b="+b);
}
}
class OperateDemo2
{
public static void main(String[] args)
{
int a,b,c
a=b=c=4;
int x=5
x+=2;
short s=3;
s+=6;
System.out.println("Hello World!");
}
}
class OperateDemo3
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
class OperateDemo4
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
转载请注明原文地址:https://blackberry.8miu.com/read-3132.html