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