Thread priorities are used by the scheduler to send a thread into the runnable state or the running state. The…
September 29th, 2009
What is a constructor?
No Comments, Uncategorized, by Daisy Williams.Constructors are typically used to create an object that is an instance of a class. A constructor is written by…
September 25th, 2009
What is the comparable interface?
No Comments, Java Facts, by Daisy Williams.The Comparable interface is used to sort collections and arrays of objects using the Collections.sort() and java.utils.Arrays.sort() methods respectively. The…
September 24th, 2009
What is an assertion?
No Comments, Java Facts, by Daisy Williams.An assertion is a statement that will be evauated during the execution of a program. It returns a boolean result….