Differentiate overriding and overloading method
Differentiate overriding and overloading method?
Expert
Overriding involves the formation of more than two methods through similar name and similar signature in dissimilar classes. One of them must be a child class and other must be parent class.
Overloading is use the method at different places through similar name and dissimilar signatures inside the similar class.
Method result: The value returned from a method through a return statement. The kind of expression in the return statement should match the return type declared in method header.
Normal 0 false false
Non-modal: In this a dialog is non-modal when its parent application is not blocked from additional activity whereas the dialog is being revealed.
Define the term Monitor: It is an object with one or more synchronized techniques.
Explain the situations in which the AJAX must not be used.
Accessor method: A technique specifically designed to offer access to a private attribute of a class. By convention, we name accessors with a get prefix followed by the name of the attribute being accessed. For example, the accessor for an attribute n
What do you mean by the term java AWT? Describe in brief.
Exception handler: It is a try statement which acts as an exception handler - a place where exception objects are dealt and caught with.
Cascading if-else statement: A form of if-else statement in which all else-part (apart from the last) comprises of a further nested if-else statement. Employed to overcome the trouble of textual drift frequently related with nested if statements.
Unnamed package: All classes defined in the files without a package declaration are placed in an unnamed package.
18,76,764
1945928 Asked
3,689
Active Tutors
1460791
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!