Practice question
3 marksWhat is method overloading? State the conditions under which two methods are said to be overloaded.
User-Defined MethodsMediumShort answer
Computer Science · Class 11 · ISC
Method definition and invocation, parameters and arguments, return types, call by value, and overloading.
5questions
Syllabus mapping: ISC syllabus (CISCE) (opens CISCE's website in a new tab)
5 questions
Practice question
3 marksWhat is method overloading? State the conditions under which two methods are said to be overloaded.
User-Defined MethodsMediumShort answer
Practice question
3 marksWrite a Java method that takes an integer and returns true if it is a palindrome.
User-Defined MethodsMediumApplication based
Practice question
3 marksDistinguish between a formal parameter and an actual parameter, and explain call by value.
User-Defined MethodsMediumShort answer
Practice question
3 marksWhat is the significance of the keyword static in a method declaration?
User-Defined MethodsMediumShort answer
Practice question
3 marksExplain the difference between a pure and an impure method.
User-Defined MethodsMediumShort answer