垃圾回收器可以马上回收内存吗?有什么办法主动通知虚拟机进行垃圾回收?14.是否可以从一个static方法内部发出对非static方法的调用?15.同步和异步有何异同,在什么情况下分别使用它们?举例说明。16.Stringstr=newString(“abc”)在内存中是怎么分配的?17.Stringstr1=“abc”和Stringstr1=newString(“abc”);这两个的区别是什么?
四、Android相关基础知识1.Androiddvm的进程和Linux的进程、应用程序的进程是否为同一个概念2.Android中的动画有哪几类,它们的特点和区别是什么?3.Handler机制的原理4.说说mvc模式的原理,它在android中的运用5.横竖屏切换时activity的生命周期6.请介绍下android大众常使用的五种布局
五、
英文翻译
把一下段落翻译成中文
a)
Anintegralapproachtocodedocumentationistowritethecodesothatitdocumentsitself.Inother
words,thecodeshouldbenaturallyreadableinsuchawayastomakeiteasytounderstand.Thisisaccomplishedbypropernamingconventionsandstatementformatting.b)Collectionsarethedatastructuresthataremosteasilyalteredforperformance-tuningpurposes.Usingthecorrectormostappropriatecollectionclasscanimproveperformancewithlittlechangetocode.Forexample,ifalargeorderedcollectionhaselementsfrequentlydeletedorinsertedthroughoutit,itusuallycanprovidebetterperformanceifbasedonalinkedlistratherthananarray.Ontheotherhand,astatic(unchanging)collectionthatneedstobe
accessedbyindexperformsbetterwithanunderlyingimplementationthatisanarray.