answersLogoWhite

0

Explain delcaring a method in java?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

A method is a group of commands that are executed when you invoke, or call, the method. It is often called a "function", a "procedure", a "subroutine" in other languages; but in OOP environments, the name "method" is used instead.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain delcaring a method in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is overridnig method and overlording method in java?

There is no such thing as overlording in Java.


What is the task of the main method in java platform?

It is the method that gets called when a Java application is started.


How nesting of methods is done in java?

No, Java only allows a method to be defined within a class, not within another method.


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 a method in Java?

A Java method is a sequence of statements. It is comparable to a function, subroutine, or procedure in other languages.


What is the purpose of NoMatchException handling method in java?

java exception


Why comparator has equals method?

The Java superclass Object says that all Java objects have an equals method. Thus Comparator has an equals method.


What is the meaning of a method in Java programming?

a method is a variable


What is the return type of finally method in java?

The final and finally keywords have no impact on the return type of a method in Java.


What is a getContentPane method in Java?

The getContentPane() method is used to get the main component in a Java Swing JFrame. It is usually a JPanel.


Explain the role of sizeof operator in java?

There is no sizeOf() operator in Java.


What is native variable in java?

native is a key word used in java method. there is no variable as native in java