Method overloading is a feature that allows a programmer to implement polymorphism in Java. In method overloading, the name of…
December 8th, 2010
What is this keyword?
No Comments, Java Facts, SCBCD, by Daisy Williams.The this keyword refers to the currently executing instance of a class. It is commonly used to access members from…
October 10th, 2010
How to define methods with variable argument lists?
No Comments, Java Facts, SCBCD, by Daisy Williams.Java allows a method to take a variable number of arguments. This capability is referred to as var-args, varargs variable…
October 7th, 2010
What are numeric promotions?
No Comments, Java Facts, SCBCD, by Daisy Williams.Numeric promotions are used to convert the operands in a numeric expression to a common type before an operation is…
October 5th, 2010
What is an interface?
No Comments, Java Facts, SCBCD, by Daisy Williams.An interface is a reference type that defines a contract. An interface body consists of method declarations and constants. All…
October 4th, 2010
What are the differences between method overriding and method overloading?
No Comments, Java Facts, SCBCD, by Daisy Williams.The following table summarizes the differences between method overriding and method overloading: Method Overriding Method Overloading Arguments of overridden methods…
October 3rd, 2010
What are the rules for method overriding?
No Comments, Java Facts, SCBCD, by Daisy Williams.According to method overriding, an overriding method must follow the following rules: It must have the same argument list. It…
October 2nd, 2010
What are the JavaBean listener naming rules?
No Comments, Java Facts, SCBCD, by Daisy Williams.JavaBean is a reusable software component that can be visually manipulated using the builder tool. The following are the JavaBean…
October 1st, 2010
What are the JavaBean property naming rules?
No Comments, Java Facts, SCBCD, by Daisy Williams.JavaBean is a reusable software component that can be visually manipulated using the builder tool. The JavaBean property naming rules…
September 20th, 2010
What is the getHandle() method?
No Comments, SCBCD, by Daisy Williams.The getHandle() method is used to obtain a serializable handle to the timer. The handle belongs to the TimerHandle interface…