Important Questions [15]
- Write a method prototype name check() which takes an integer argument and returns a char:
- A method which does not modify the value of variables is termed as ______.
- The number of values that a method can return is ______.
- Give the Output of the Following: Math.Sqrt(Math.Max(9, 16))
- State a Difference Between Call by Value and Call by Reference.
- Assertion (A) : Static method can access static and instance variables. Reason (R) : Static variables can be accessed only by static method.
- Write a Menu Driven Program to Display the Pattern as per User’S Choice.
- How Are Private Members of a Class Different from Public Members ?
- Differentiate between formal parameter and actual parameter.
- What Are the Two Ways of Invoking Functions?
- Method which is a part of a class rather than an instance of the class is termed as ______.
- Invoking a method by passing the objects of a class is termed as ______.
- Design N Class to Overload a Function Sumserieso as Follows: (I) Void Sumseries(Int N, Double X) – with One Integer Argument and One Double Argument to Find and Display
- Define a class to overload the function print as follows: void print(int n) - To check whether the number is a lead number.
- Method which reverses a given number is ______:
