在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 教程/ HTML/ Gabage Collection
什么是 servlet?
HashMap 和 Hashtable
一個線程的初始狀態(tài)是什么?
Pointcut
SQL
Scrum 中的三大角色
Static 關(guān)鍵字
靜態(tài)變量和實例變量的區(qū)別?
合并
Initialization and Cleanup
字節(jié)流與字符流
抽象 abstract
& 與 &&
super 關(guān)鍵詞
如何序列化一個對象到一個文件?
構(gòu)造器是否可以被 override
說一說 Java
Callable statement?
What does web module contain?
設(shè)計一對一
異常
What is Session in Hibernate?
ApplicationContext 的實現(xiàn)都有哪些?
@Autowired @Inject @Resource
處理異常的方法
Where 和 Having
Visitor Pattern
Java
JSP 的生命周期?
什么是對象 (Object)?
接口 Interface
sleep() 和 wait() 的區(qū)別
Super 程序題
Linux
Run-Time Data Areas - 運行時數(shù)據(jù)區(qū)域
this() 和 super() 在構(gòu)造體里怎么用?
what are benefits of using spring?
序列化時引用的處理?
Servlet 必須實現(xiàn)什么接口?
hibernate 的三種狀態(tài)
get and load
IoC 的類型?
Multi-Thread
error 和 exception?
序列化時 static 域的處理?
同步 synchronized
Join point?
面向?qū)ο蟮奶卣饔心男┓矫?/span>
Programme
What is SessionFactory in Hibernate?
創(chuàng)建 servlet
statement 和 prepared statement?
必須實現(xiàn) Serializable 接口的哪個方法?
HashMap HashTable LinkedHashMap TreeMap
What is the file extension used for hibernate mapping file?
int 與 integer
Problem on chain
What are the steps in the JDBC connection?
查找文件
IoC containers 類型?
multi to multi
Connection Pooling ?
Spring
序列化時要注意什么?
Externalizable 接口?
StringBuffer 相關(guān)問題
如何控制 serialization 的過程?
What does the Class.forName("MyClass") do?
Full join
JSP
Bean Factory 與 ApplicationContext 的區(qū)別?
Introduction?
Transient 關(guān)鍵字
Ear, Jar 和 War 文件的區(qū)別?
What do you understand by JSP Actions?
servlet 生命周期?
J2EE客戶端有哪些類型?
作用域的區(qū)別
Java Data Types - Java 數(shù)據(jù)類型
Static 相關(guān)問題
多態(tài) Polymorphism
synchronized method 和 synchronized statement?
什么是自動裝配
GC 就一定能保證內(nèi)存不溢出嗎?
Singleton bean 是線程安全的嗎?
Spring 都有哪些模塊?
ArrayList 和 Vector
heap 和 stack
preemptive scheduling 和 time slicing?
abstract 相關(guān)問題
所有的線程都必須實現(xiàn)哪個方法?
你更傾向于哪種 DI
Collection
一個 .java 源文件是否可以包含多個類
每一個 try 都必須有一個 catch 嗎?
JSP translation?
基礎(chǔ)程序題
都使用過哪些join?
守護線程 daemon thread?
如何實現(xiàn) muliti-thread?
What are considered as a web component?
封裝 Encapsulation
Bean lifecycle
什么是 Spring 的配置文件?
final 關(guān)鍵字
數(shù)組相關(guān)問題
Article11
Does Java support multiple inheritance?
SessionFactory 是線程安全的嗎?
接口和抽象的區(qū)別
Singleton 單例模式
DAO
What's sprint?
Scrum
How to scrum
列舉出2個 IDE
== 和 equal 的區(qū)別
Hibernate
Hibernate是什么?
Annotation-based container configuration?
inner join
列出文件列表
Collection 相關(guān)問題
What type of wildcards have you used?
try 模塊里的 return
final, finally, finalize的區(qū)別
Java 為什么是高效的 ( High Performance )?
One to multi
Gabage Collection
通知的類型?
什么是依賴注入 - Dependency Injection?
How can you inject Java Collection in Spring?
integer 通過 == 比較
所有類的基類是哪個類?
反射機制
什么是 Spring beans?
Continuous integration
一個類是由哪些變量構(gòu)成的?
什么是 AOP?
equals() 與 hashcode()
都有哪些 bean scope?
序列化 serialization
JSP language
什么是 Spring?
什么是事務(wù) - transaction
this 程序題
J2EE 應(yīng)用的四個部分?
Stored Procedure?
URI 和 URL?
JDK JRE JVM?
Path 與 Classpath?
Left/Right join
字符串基礎(chǔ)問題
IoC 有什么好處?
What does application client module contain?
sorted 和 ordered collection
把對象聲明成異常
Union 和 Union all?
什么是 J2EE?
什么情況下要使用序列化?
基礎(chǔ)概念題
Checked 異常與 Runtime 異常
異常選擇題
IoC container 是什么?

Gabage Collection

什么是GC

GC是垃圾收集的意思(Gabage Collection), 內(nèi)存處理是編程人員容易出現(xiàn)問題的地方, 忘記或者錯誤的內(nèi)存回收會導(dǎo)致程序或系統(tǒng)的不穩(wěn)定甚至崩潰, Java提供的GC功能可以自動監(jiān)測對象是否超過作用域從而達到自動回收內(nèi)存的目的, Java語言沒有提供釋放已分配內(nèi)存的顯示操作方法.

垃圾回收器的基本原理是什么?

當程序員創(chuàng)建對象時,GC就開始監(jiān)控這個對象的 地址、大小以及使用情況. 通常,GC采用有向圖的方式記錄和管理堆(heap)中的所有對象。通過這種方式確定哪些對象是"可達的", 哪些對象是"不可達的".當GC確定一些對象為"不可達"時(比如設(shè)置為 null),GC就有責(zé)任回收這些內(nèi)存空間.

有什么辦法主動通知虛擬機進行垃圾回收?

可以.程序員可以手動執(zhí)行System.gc(),通知GC運行,但是Java語言規(guī)范并不保證GC一定會執(zhí)行. 這個選擇題的時候有考.