1.public class MyClass{ 2. public StringBuffer aMethod(){ 3. StringBuffer sf = new 4.StringBuffer("Hello"); 5. StringBuffer[] sf_arr = new StringBuffer[1]; 6. sf_arr[0] = sf; 7. sf = null; 8. sf_arr[0] = null; 9. return sf; } }
public class Test{ public static void main(String[] args){ int x=-10,k=0; while(++x<0){ k++; } System.out.println(k); } }
if(a>b && b>c){ b=a/c; }
SELECT deptno, max(sal) FROM emp GROUP BY deptno WHERE max(sal)>2500;