What is Overloading of procedures ?

1 Answer

Answer :

The Same procedure name is repeated with parameters of different
datatypes and parameters in different positions, varying number of
parameters is called overloading of procedures. e.g. DBMS_OUTPUT
put_line

Related questions

Description : Does PL/SQL support “overloading”? Explain

Last Answer : The concept of overloading in PL/SQL relates to the idea that you can define procedures and functions with the same name. PL/SQL does not look only at the referenced name, however, ... Prefacing a procedure or function name with the package name fully qualifies any procedure or function reference.

Description : What are Database Triggers and Stored Procedures

Last Answer : Database Triggers :: Database Triggers are Procedures that are automatically executed as a result of insert in, update to, or delete from table. Database triggers have the values old and new to ... procedures is that many users can use the same procedure in compiled and ready to use format.

Description : What are different modes of parameters used in functions and procedures?

Last Answer : IN -OUT -INOUT

Description : What is an UTL_FILE.What are different procedures and functions associated with it?

Last Answer : UTL_FILE is a package that adds the ability to read and write to operating system files. Procedures associated with it are FCLOSE, FCLOSE_ALL and 5 procedures to output data to a file PUT, ... , PUTF, FFLUSH.PUT, FFLUSH.PUT_LINE,FFLUSH.NEW_LINE. Functions associated with it are FOPEN, ISOPEN.

Description : What is difference between Procedures and Functions ?

Last Answer : A Function returns a value to the caller where as a Procedure does not.

Description : How packaged procedures and functions are called from the following?

Last Answer : a. Stored procedure or anonymous block b. an application program such a PRC *C, PRO* COBOL c. SQL *PLUS?? a. PACKAGE NAME.PROCEDURE NAME (parameters); variable := PACKAGE NAME.FUNCTION NAME ( ... .PROCEDURE if the procedures does not have any out/in-out parameters. A function can not be called.

Description : What are advantages fo Stored Procedures?

Last Answer : Extensibility,Modularity, Reusability, Maintainability and one time compilation.

Description : Explain how procedures and functions are called in a PL/SQL block ?

Last Answer : Function is called as part of an expression. sal := calculate_sal ('a822'); procedure is called as a PL/SQL statement calculate_bonus ('A822');

Description : What are the unrestricted procedures used to change the popup screen position during run time ?

Last Answer : Anchor-view Resize -View Move-View.

Description : How will you enforce security using stored procedures?

Last Answer : Don't grant user access directly to tables within the application. Instead grant the ability to access the procedures that access the tables. When procedure executed it will execute the privilege of procedures owner. Users cannot access tables except via the procedure.

Description : How will you enforce security using stored procedures?

Last Answer : Don't grant user access directly to tables within the application. Instead grant the ability to access the procedures that access the tables. When procedure executed it will execute the privilege of procedures owner. Users cannot access tables except via the procedure.

Description : What are stand-alone procedures?

Last Answer : Procedures that are not part of a package are known as stand-alone because they independently defined. A good example of a stand-alone procedure is one written in a SQL*Forms application. These ... limitation of stand-alone procedures is that they are compiled at run time, which slows execution.

Description : What are stored-procedures? And what are the advantages of using them.

Last Answer : Stored procedures are database objects that perform a user defined operation. A stored procedure can have a set of compound SQL statements. A stored procedure executes the SQL commands and returns the result to the client. Stored procedures are used to reduce network traffic.

Description : Looking for video of an air guage overloading?

Last Answer : answer:http://www.youtube.com/watch?v=HE6zLzRQbUU This may not be exactly what you’re looking for but I believe I’ve started you in the right direction! youtube has a ton of videos, surly one of them will work for your needs!

Description : 3. What precaution should be taken to avoid the overloading of domestic electric circuits? -Physics-10

Last Answer : A few of the precautions to be taken to avoid the overloading of domestic electric circuits are as follows: Connecting too many devices to a single socket should be avoided Using too many appliances at the same time should be avoided Faulty appliances should not be connected to the circuit

Description : When would you use function overloading over default argument?

Last Answer : Default arguments are often considered to be optional arguments,however a default argument is only optional in the sense that thecaller need not provide a value for it. The function must ... overload tocall, resulting in code duplication that would likely be besthandled by the function itself.

Description : The function of fuse in an electrical circuit is (a) avoid electric shocks (b) regulate the flow of current (c) break the circuit in case of overloading or short circuiting (d) switch off current

Last Answer : Ans:(c)

Description : Coast Guard Regulations (46 CFR), require that an indicating light at the propulsion control station will operate if overloading or overheating occurs in a _______________. A. forced draft blower motor B. steering gear motor C. fuel pump motor D. condensate pump motor

Last Answer : Answer: B

Description : If overloading a DC machine becomes necessary in an emergency, you should ____________. A. cool the machine with portable blowers and fans B. hold thermal overload relays open with blocks of ... the windings for cooling D. increase the residual magnetism value of windings to reduce eddy currents

Last Answer : Answer: A

Description : The process of assigning PCM codes to absolute magnitudes A. Overloading B. All of these C. Quantizing D. Multiplexing

Last Answer : C. Quantizing

Description : What is a Method Overloading?

Last Answer : Method with same name but with different arguments is called method overloading

Description : What is method overloading, and when is it useful?

Last Answer : Method overloading allows you to create several methods with the same name but different signatures. Overloading is useful when you want to provide the same or similar functionality to different sets of parameters.

Description : How is method overriding different from method overloading? 

Last Answer : When overriding a method, you change the behavior of the method for the derived class. Overloading a method simply involves having another method with the same name within the class.

Description : How is method overriding different from method overloading? 

Last Answer : When overriding a method, you change the behavior of the method for the derived class. Overloading a method simply involves having another method with the same name within the class.

Description : How’s method overriding different from overloading?

Last Answer : When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class.

Description : What is OVERLOADING ?

Last Answer : OVERLOADING:  Large amount of current will flow beyond the permissible value of current.  This causes the fire.  At the same time, many appliances are switched ON, overloading is happened.  Overloading can be avoided by not connecting many appliances at same time.

Description : Smoke is produced due to (A) Insufficient supply of combustion air and insufficient time for combustion (B) Poor quality of fuel and improper mixing of fuel & combustion air (C) Poor design & overloading of furnace (D) All (A), (B) and (C)

Last Answer : (D) All (A), (B) and (C)

Description : Overlay is: a) A part of an operating system b) A single contiguous memory that is used in olden days for running large programs by swapping c) Overloading the system with many user files d) None of The Above

Last Answer : b) A single contiguous memory that is used in olden days for running large programs by swapping

Description : Define what is meant by method overloading?

Last Answer : Method overloading permits multiple methods in the same class to have the same name as long as they have unique signatures. When compiling an invocation of an overloaded method, the compiler uses overload resolution to determine the specific method to invoke.

Description : Difference between Overloading and Overriding ?

Last Answer : Ans. Overloading - Similar Signature but different definition , like function overloading. Overriding - Overriding the Definition of base class in the derived class

Description : What is the difference between function overloading and function overriding?

Last Answer : A: In function overloading only the function name is same but function signature (list of parameters) is different, whereas, in function overriding both the function name as well as function ... is an example of static polymorphism, whereas, function overriding is an example of dynamic polymorphism.

Description : Heavy smoking in an engine in operation may be due to 1. Overloading 2. Mixtures 3. Late injection 4. all of these

Last Answer : ans 4

Description : Companding helps in reducing __________ with respect to signal: (A) Interference (B) Signal overloading (C) Non linearity (D) Quantization noise

Last Answer : (D) Quantization noise

Description : What is function overloading and operator overloading?

Last Answer : Function overloading: C++ enables several functions of the same name to be defined, as long as these functions have different sets of parameters (at least as far as their types are ... add anything fundamental to the language (but they can improve understandability and reduce maintenance costs).

Description : Which of the following is true about Java. A) Java does not support overloading. B) Java has replaced the destructor function of C++ C) There are no header files in Java. D) All of the above.

Last Answer : D) All of the above

Description : State True or False. i) While overloading operators new operator can be overloaded. ii) The binary operator such as +, -, * and must explicitly return a value. A) True, True B) True, False C) False, True D) False, False

Last Answer : C) False, True

Description : …………. Is the process of creating new classes, called derived classes from existing classes called base class. A) Inheritance B) Encapsulation C) Polymorphism D) Overloading

Last Answer : A) Inheritance

Description : ………… enable us to hide, inside the object, both the data fields and the methods that act on that data. A) Encapsulation B) Polymorphism C) Inheritance D) Overloading

Last Answer : A) Encapsulation

Description : An attacker can create an _____attack by sending hundreds or thousands of email with very large attachments a) Connection Attacks b) Auto responder attacks c) Attachment Overloading Attacks d) All of the above

Last Answer : c) Attachment Overloading Attacks

Description : An attacker can create an …………………………….. attack by sending hundreds or thousands of emails with very large attachment A)Attachment Overloading Attack B)Connection Attack C)Auto Responder Attack D)All of the Above

Last Answer : A)Attachment Overloading Attack

Description : An attackers can create an …....attack by sending hundreds or thousand of e-mail with very large attachment. a. Connection Attack b. Auto responder Attack c. Attachment overloading Attack d. All of the above

Last Answer : c. Attachment overloading Attack

Description : an attack can create and attack by sending hundreds or thousand of e-mail with very large attachment (a) connection attack (b) auto responder attack (c) attachment overloading attack (d) all of the above

Last Answer : (c) attachment overloading attack

Description : An attacker can create an________attack by sending hundreds or thousands of e-mails a with very large attachments. A. Connection Attack B. Auto responder Attack C. Attachment Overloading Attack D. All the above

Last Answer : B. Auto responder Attack

Description : An attacker can create an …………………………….. attack by sending hundreds or thousands of emails with very large attachment A)Attachment Overloading Attack B)Connection Attack C)Auto Responder Attack D)All of the Above

Last Answer : A)Attachment Overloading Attack

Description : Write a C++ program to swap two integer numbers and swap two float numbers using function overloading.

Last Answer : #include<iostream.h> #include<conio.h> void swap(int a,int b) { int temp; temp=a;  a=b;  b=temp; cout<<"\nInteger values after swapping are:"<<a<<" "< ... { clrscr(); swap(10,20); swap(10.15f,20.25f); getch(); }

Description : Differentiate between method overloading and method overriding.

Last Answer : Sr. No. Method overloading Method overriding 1 Overloading occurs when two or more methods in one class have the same method name but different parameters. Overriding means having two ... 4 overloading is a compiletime concept. Overriding is a run-time concept

Description : Close inspection of a failed metal part reveals artifacts on the fracture surface commonly referred to as "striations" or "beach marks". This indicates the component failed as a result of: w) Sudden overloading x) Cyclical loading y) Stress corrosion cracking z) None of the above

Last Answer : ANSWER: X -- CYCLICAL LOADING

Description : Polymorphism is implemented using function overloading. Justify the statement.

Last Answer : Polymorphism is a mechanism that allows a developer to have more than one function with same name but different signature. In function overloading, one can make use of more than one function with different signature as well. Hence ... main()  { int a[10],i,isum; float b[5],fsum; clrscr(); cout

Description : Write a program for overloading of ++unary operator for inch to feet conversion. 12 inch = 1 feet.

Last Answer : #include #include class abc { int i,f; public: abc(int f1,int i1) { f=f1; i=i1; } void operator ++() {  while(i>11)  {  f++;  i=i-12;  }  cout

Description : Write a program to calculate area of circle and area of rectangle using function overloading. 

Last Answer : #include<iostream.h> #include<conio.h> float area(float a) { return (3.14*a*a); } int area(int p,int q) { return(p*q); } void main() { clrscr(); cout< ... ;<<area(6); cout<<"Area of Rectangle:"<<area(5,6); getch(); }