android - java.lang.Void vs void vs Null -
What is the difference between
I am asking this because I am looking at the sample Android code where they used zero but eclipse errors (this can not be solved in My code that breaks I use it like this In addition, there is no need to insert The code should rarely be: zero ,
zero , and I Rather than
null ?
zero in a variable ).
public class MyAsyncTask asyncTask and lt; Zero, zero, boolean & gt; .}
MyAsyncTask myAsyncTask = New MyAsyncTask (); MyAsyncTask.execute ((zero), blank); // It breaks "zero can not be solved in a variable"
myAsyncTask.execute (zero, zero); // ^ Additional comma right here
null to
zero because (1) < Code> zero does not have any examples and thus there is no
zero object, and (2) casting
null anything is useless because of any The zero valid value for the object data type is
myAsyncTask.execute (null);
Comments
Post a Comment