D
D
Daniil Demidko2016-04-17 16:14:50
Java
Daniil Demidko, 2016-04-17 16:14:50

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

2 answer(s)
S
Sergey, 2016-04-17
@Daniro_San

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.

V
VZVZ, 2016-04-17
@VZVZ

What is the point of this question? Simply put, what's the difference?
And what about the compiler? The compiler is just the same here and there. You can also compile a console, desktop application without main.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question