How can Android source code not have a main method and still run?

前端 未结 13 2505
萌比男神i
萌比男神i 2020-11-30 07:40

I\'ve seen this in a few tutorials now... but how in the world can Android source code not have a main method and still run.

For example (from http://developer.andro

13条回答
  •  萌比男神i
    2020-11-30 08:04

    Applets don't have main() methods either. It just depends on how your code is packaged.

提交回复
热议问题