Что напечатает следующий код:

public class Comparation {
    public static Boolean assert(boolean bool) {
        return bool;
    }
    public static void main(String[] args) {
        int i1 = 1;
        Integer i2 = 1;
        System.out.println("assert=" + assert(i1 == i2));
    }
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes