Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package test;
- /**
- *
- * @author Mihai
- */
- public class Main {
- public static void main(String[] args) {
- //test();
- Integer a = 100;
- Integer b = 100;
- Integer c = 200;
- Integer d = 200;
- if ( a == b){
- System.out.println("a==b");
- }
- if ( c == d){
- System.out.println("c==d");
- }
- // in consola se afiseaza doar a==b. De ce ?
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement