Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public class MyClass {
  2. public static void main(String args[]) {
  3. int [] orgArr = new {0,1,2,3,4,5,6,7,8,9};
  4. int k = 3;
  5. int [] temp = new int[k];
  6. for(int i=orgArr.length-1; i>=orgArr.length-1-k; i--) {
  7.  
  8.  
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement