compaction ratio limit
garbage collection frequency
garbage collection times
fragmentation heap size
第1题:
1. class TestA { 2. TestB b; 3. TestA() { 4. b = new TestB(this); 5. } 6. } 7. class TestB { 8. TestA a; 9. TestB(TestA a) { 10. this.a = a; 11. } 12. } 13. class TestAll { 14. public static void main (String args[]) { 15. new TestAll().makeThings(); 16. // ...code continues on 17. } 18. void makeThings() { 19. TestA test = new TestA(); 20. } 21. } Which two statements are true after line 15, before main completes?()
第2题:
You plan to have a larger moving window size for the default system-defined moving window baseline because you want to use the adaptive threshold. Which statement factors in this consideration while increasing the size of the moving window?()
第3题:
Which statements about the garbage collection are true?()
第4题:
Which of these statements concerning the collection interfaces are true?()
第5题:
class A { } class Alpha { private A myA = new A(); void dolt( A a ) { a = null; } void tryIt() { dolt( myA ); } } Which two statements are correct?()
第6题:
Initially, for the Automatic Workload Repository (AWR) statistics, the retention period is set to 7 days, the collection interval is set to 30 minutes and the collection level is set to Typical in your production database. You have been using the Memory Advisor for the last three months to generate recommendations for tuning memory components. However, when you observe the Memory Advisor on a Friday, you find that the statistics are available only for two days, Thursday and Friday, of that week. What would have caused the statistics to be removed?()
第7题:
What two statements are true about Oracle Enterprise Manager’s Java Diagnostic tool, which makes the tool suitable for production server diagnostics ?()
第8题:
Java.util.Map
Java.util.Set
Java.util.List
Java.util.StoredSet
Java.util.StoredMap
Java.util.Collection
第9题:
Set extends Collection.
All methods defined in Set are also defined in Collection.
List extends Collection.
All methods defined in List are also defined in Collection.
Map extends Collection.
第10题:
Line 15 causes a stack overflow.
An exception is thrown at runtime.
The object referenced by a is eligible for garbage collection.
The object referenced by b is eligible for garbage collection.
The object referenced by a is not eligible for garbage collection.
The object referenced by b is not eligible for garbage collection.
第11题:
Garbage collection cannot be forced.
Call System.gc().
Call System.gc(), passing in a reference to the object to be garbage collected.
Call Runtime.gc().
Set all references to the object to new values(null, for example).
第12题:
This option is supported by all type of Garbage collection modes.
This option is only supported by Generational Garbage Collection mode.
This option is only supported by Mark and Sweep Garbage Collection mode.
This option is only supported by Dynamic Garbage Collection mode.
第13题:
How can you force garbage collection of an object?()
第14题:
Which statement is true about XpauseTarget in Oracle JRockit JVM ? ()
第15题:
1. import java.util.*; 2. public class TestSet { 3. enum Example { ONE, TWO, THREE } 4. public static void main(String[] args) { 5. Collection coll = new ArrayList(); 6. coll.add(Example.THREE); 7. coll.add(Example.THREE); 8. coll.add(Example.THREE); 9. coll.add(Example.TWO); 10. coll.add(Example.TWO); 11. coll.add(Example.ONE); 12. Set set = new HashSet(coll); 13. } 14. } Which statement is true about the set variable on line 12?()
第16题:
11. class Snoochy { 12. Boochybooch; 13. public Snoochy() { booch = new Boochy(this); } 14. } 15. 16. class Boochy { 17. Snoochy snooch; 18. public Boochy(Snoochy s) { snooch = s; } 19. } And the statements: 21. public static void main(String[] args) { 22. Snoochy snoog = new Snoochy(); 23. snoog = null; 24. // more code here 25. } Which statement is true about the objects referenced by snoog, snooch, and booch immediately after line 23 executes?()
第17题:
Which two PL/SQL8 features are supported in Oracle Forms?()
第18题:
Oracle JRockit JVM uses -Xns option to set nursery size when the generational garbage collection mode is used. Which two JVM properties are affected by changing its size ?()
第19题:
You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. You are going to use the data collector to gather performance data periodically on all instances. You must store all collected data in the same database. This database is hosted on a single instance. Every five hours, you have to collect and load performance data in the management data warehouse. Which data collection process should you implement? ()
第20题:
None of these objects are eligible for garbage collection.
Only the object referenced by booch is eligible for garbage collection.
Only the object referenced by snoog is eligible for garbage collection.
Only the object referenced by snooch is eligible for garbage collection.
The objects referenced by snooch and booch are eligible for garbage collection.
第21题:
The program developer must create a thread to be responsible for free the memory.
The garbage collection will check for and free memory no longer needed.
The garbage collection allow the program developer to explicity and immediately free the memory.
The garbage collection can free the memory used java object at expect time.
第22题:
There are no instanced of A that will become eligible for garbage collection.
Explicitly setting myA to null marks that instance to be eligible for garbage collection.
Any call on tryIt() causes the private instance of A to be marked for garbage collection.
Private instances of A become eligible for garbage collection when instances of Alpha become eligible for garbage collection.
第23题:
compaction ratio limit
garbage collection frequency
garbage collection times
fragmentation heap size
第24题:
On Wednesday, the statistics have been purged.
On Wednesday, the retention period has been set to zero.
On Wednesday, the collection interval has been set to zero.
On Wednesday, the collection level has been changed to All.
On Wednesday, the retention period has been set to one day.
On Wednesday, the retention period has been set to two days
On Wednesday, the collection level has been changed to Typical.
On Wednesday, the collection interval has been set to 1440 minutes.