List<? extends Bird> could be List<Bird> or List<Sparrow>. Line #7 doesn't compile because we can't add a Sparrow to List<Bird>
assert Expression1 : Expression2 ;
Expression1 is a boolean expression.
Expression2 is an expression that has a value. (It cannot be an invocation of a method that is declared void.)
The system passes the value of Expression2 to the appropriate AssertionError constructor, which uses the string representation of the value as the error's detail message.
Primary Data | Principals | Administrators | Custodiams | Accounting Firms | Law Firms | Billing
New Link | Primary Data | Principals | Administrators | Custodiams | Accounting Firms | Law Firms | Billing