Answer the question
In order to leave comments, you need to log in
Can we say that the compiler from the Android SDK has its own Java dialect?
Confused by the absence of the main method. It seems to be required in Java. And I did not find a book where the reasons for his absence are normally explained. I understand activities and all that - but it seems like it’s not the same Java language anymore, but some kind of its dialect?
Answer the question
In order to leave comments, you need to log in
Android has its own Java Runtime implementation, so it does not need the main method, there are slightly different rules in this regard.
Think of it as just a separate implementation of Java. But from the point of view of syntax, there are no differences, so there is no need to talk about a different dialect.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question