package com.jun.plugin.javase.JavaBase;

import java.util.Arrays;

public class JavaBase {
	public static void main(String[] args) {

		/*double sum=0;
		double f=1;
		for(int i=1;i<=100;i++){
			f=i;
			if(f%2==0){
				f=(-1)*f;
			}
			sum+=1/f;
			System.out.println(sum);
		}
		
		int a=3;
		int b=(a++)+(a++)+a;
		System.out.println(a);
		System.out.println(b);
		
		int a=10;
		System.out.println(a++>9|++a>9);
		System.out.println(a);
		
		
		int[] arr={1,2,3,4,5};
		int[] arr2=Arrays.copyOf(arr, 4);
		for(int i:arr2){
			System.out.println(i);
		}
		System.out.println();
		int num=2;
		int b=num++;
		System.out.println(num+","+b);*/
		/*String str=" 1234567890";
		System.out.println(str.length());//11
		System.out.println(str.trim().length());//10
*/		
		
		/*int a=3,b=(++a)+(a++)+a;
		System.out.println(a);
		System.out.println(b);*/
		
		
		/*int a=90;int b=90;
		if(a==b || a>8){System.out.println("ok1");}
		//System.out.println(b);
		b--;
		if(a>b && a>45){System.out.println("ok2");}
		if(!(a<=b)){System.out.println("ok3");}*/

		
	}
}
