answersLogoWhite

0


Best Answer

Just like JavaScript, it is in this format: functionName(moreInfo);

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you call the any functions in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Prog to display array element?

Java solutionFortunately, Java has a number of useful functions in the java.util.Arrays class for us.A call to...System.out.println(java.util.Arrays.toString(array));...will print out any array.


Who create Java and when?

Who create Java & when? Why he create java ? What are mane functions of it?


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 the use of functions in java?

Same as in other languages. To organize commands into logical pieces. However, in Java the functions are called "methods". This is related to the fact that in Java, methods or functions are defined as part of a class.


What are functions in JAVA?

for loop function


Does java support call by reference?

No , Java does not support call by reference.


Why we write java program using classes?

Classes are well organised functions in java which help discriminate between two different functions.


Sorting of array through function in java programming?

// the build in sorting functions in Java will sort pretty much any array // of Comparable objects or primitives Arrays.sort(someArray);


What do you call java and javascript?

Well you get java as java and javascript as iava.


How do you call main class with in main class in java?

We can't call a class. We always call a method in java.


What is importe mean?

import is a function in java that is used to import data types or values or any functions within a specific class.


What are math functions in java?

Math is a pre-defined class in the package java.lang. It contain various predefined functions in it that help the users to carry out various mathematical operations in their programs. Various Math Functions are:: Math.pow(x,y) => x^y Math.sqrt(x) => Square root of 'x' Math.tan(x),sin(x),cos(x) => tan, sin, cos of 'x' respectively there are also other functions like Math.ceil,Math.floor,Math.mod,etc.