Quantcast
answersLogoWhite
notificationBell

Top Answer
User Avatar
Wiki User
Answered 2009-04-25 08:03:59

Any function or method in Java that is coded by the programmer is called a user defined method in Java. The JAVA API (Application Programming Interface) has a set of predefined classes & methods that are for our usage. Whatever methods we create apart from these are termed as user defined methods. In java we not use the term functions. We call them "Methods"

001
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Still Have Questions?

Related Questions

What user defined functions in java?

A function created by the user. In Java, functions are attached to a class, and are called "methods".


Is main a predefined function in java?

No. It is a user defined function which the person who is creating the java class has to code by himself.



Why you say main is a user defined function?

main is user defined function, since in this function user writes his own code.


What are user defined keywords in java?

As far as I know, keywords are part of the implementation of Java, and cannot be defined or redefined.


What is user defined function?

A user-defined function is any function that is not built-in to the programming language. For instance, the sizeof() operator is a built-in function thus it is always available. By contrast, all functions defined by the programmer are user-defined functions.


What is function in java terminology?

In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.In Java, a function is called a "method". In Java as well as other languages, a method is a function defined specifically for one class. In Java, this is the only way to define functions, therefore, all functions are methods.


What is user define package?

A user defined package is a package outside of the standard Java libraries.


What are the Examples of user defined methods in java?

All methods you write in your classes are user defined methods. ex: public String getName(){ return "Rocky"; }


Can a C plus plus user defined function return a value?

Absolutely. Indeed, any function (user-defined or built-in) that does not return a value is not really a function, it is simply a procedure.


What is the main feature of the programming language Java Classpath?

Java Classpath is a parameter that tells the Java Virtual Machine or the Java Compiler, where to search for user-defined classes and packages on a computer.



What is difference between switch function and user defined function in c progarmming?

. please give me 3 or 4 differences.one difference is that user defined can be called anytime but not for switch There is no such thing as 'switch function'


Can userdefined exception have two methods in it?

Yes a user defined exception can have any number of methods in it. A user defined exception is nothing but a Java class created for a specific purpose. Just like ordinary Java classes, you can have any number of methods in it...


What are the different types of package in java?

1.user defined packages 2.predefined packages


Difference between builtin function and user defined function?

it seems like the answer is in the question....


What are the keywords not used in java?

You can find a list of Java keywords in the Wikipedia article "List of Java keywords". These keywords may not be used for variables or other user-defined names.


What user defined function in programming c?

A user-defined function is any function that is not built-in to the language itself. A built-in function is any function that can be called without a declaration; it is pre-defined and thus requires no header or a link library. However, C has no built-in functions thus all functions are user-defined, including those defined by the standard library and by third party libraries. However, we generally use the term user-defined function when referring only to those functions we've defined ourselves, as opposed to third-party or standard library functions which are defined for us. The standard library is itself a third-party library and, although provided by the language it is not part of the language; it is not built-in.


What are the uses of throw keyword in java?

The throw keyword is used to throw User Defined Exceptions explicitly.



What is the name of the function which must be defined in a Java program?

The main function. Every program must have a main function and it must be declared static.


What is the difference between userdefind function and library function in c?

in user defined function we can make our library according to our need bt in library function , funtions are already defined only we have to call that function


What are the restriction that are applied to operator overloading?

Java does not support user defined operator overloading.The operator '+' is overloaded in Java and can be used for adding both numbers and Strings.


What is the use of main function in c?

It is an entry point function, which is the first user-defined function to be called when your program runs.


What is meant by function definition and functin declaration?

Function declaration means to just tell the compiler that this is a user-defined function. While function definition contains the whole body of the function, i.e. its working.Example:// This is function declarationvoid myfunction();// This is function definitionvoid myfunction(){printf("This is a user defined function call !");}-Manu-


Still have questions?

Trending Questions
How to Make Money Online? Asked By Wiki User
Best foods for weight loss? Asked By Wiki User
Does Neil Robertson wear a wig? Asked By Wiki User
Previously Viewed
User defined function in java? Asked By Wiki User
Unanswered Questions