Computer Applications
What is the signature of the following method heading?
public void CoolMethod(int xx, char yy, int zz)
Related Questions
What is an ambiguous invocation? Give an example.
Given below are the two method definitions:
- public static double Check(double x, double y)
- public static double Check(int x, double y)
Which of the two methods is invoked for the following?
- double z = Check (6, 5);
- double z = Check (5.5, 7.4);
Which OOP principle implements function (method) overloading?
A palindromic prime is a prime number and also palindromic. For example, 131, 313, and 757 are prime numbers and also palindromic prime numbers. Write a program that displays the first 100 palindromic prime numbers.