Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.bahasaJava.autoboxing;
- public class Autoboxing {
- public static void main(String[] args) {
- //Boxing
- Integer x = 10;
- //Unboxing
- int z = 5 + x;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement