You are on page 1of 12

FORMAL INVESTIGATION

JAVA METHODS AND FUNCTIONS


COMPUTER
JERONIMO GOMEZ

PROFESSOR: JAVIER SERRANO

10 ARQUIMEDES

PANAMA
14/08/2019
INDEX
PAGE:

1.INTRODUCTION 1
2.AREA OF INVESTIGATION 2
3.PROBLEM STATEMENT 3
4.DATA RECOMPILATION 4-5
5.HYPOTHESIS 6
6.CONCLUSION 7
7.RECOMMENDATION 8
8.ANEX 9
9.BIBLIOGRAPHY 10
1. Introduction 1

On this formal investigation will be developed the concept of java


methods and functions to clarify the topic and bring the established
sustentation for the class of computer, and to increase the previous
knowledge about the topic on this important part of the humanity.
2.Area of investigation 2

Tittle: Area:
Java method and functions Social and Cultural
Development, science and
technology.

The area of investigation of “Java method and functions” are science


and technology because talks about the technology and the web
and the revolution of these involved to the new technologies and the
social cultural development because establish the relation of these
upgrades with the society.
3.Problem statement 3

This investigation will develop java method and functions context on


the society and the technologies relation.
Objectives:
- Identify the java method.
- Clear the functions of java.
- State the java concept.
Questions:
What is the java method?
How is the java method useful?
What are java functions?
4.Data Recompilation 4

Java is a general purpose, concurrent, object-oriented programming


language that was specifically designed to have as few
implementation dependencies as possible.
A method is a block of code which only runs when it is called you
can pass data, known as parameters, into a method are used to
perform certain actions, and they are also known as functions.
To reuse code: define the code once, and use it many times.

A method must be declared within a class. It is defined with the


name of the method, followed by parentheses (). Java provides
some pre-defined methods, such as System.out.println(), but you
can also create your own methods to perform certain actions.

A function is a set of instructions that execute a routine and return a


result. The result may depend on input parameters.
The type of result data and the name that identifies the function
must be defined. In addition, you can optionally define input
parameters with the type of data and its name.
5

A function allows us to reuse an algorithm. In the case of our


banking problem, we can reuse the interest calculation by applying it
to each bank.
We need to define certain input data to execute the algorithm. We
will need the initial amount, the interest rate and the period. In turn,
we define the type of result data. The function returns the final
amount, so the type of data is double. To identify the function we
have put the name of compound interest.

To use the function in the program we call it by name. As this


returns a result, we will have to store it in a variable that has a data
type compatible with the result.
We must pass the parameters as defined, in the same order and
with the same type of data.

Knowing how a function is armed and invoked, we are ready to use


it in our program.

java method helps to:

Helps in writing generic code based on parent class or interface as


object resolution happens at runtime.
Provides multiple implementation of same method and can invoke
parent class overridden method using super keyword.
5.Hypothesis 6

- A method is a block of code which only runs when it is called you


can pass data.

-Helps in writing generic code based and Provides multiple


implementation.

- A function is a set of instructions that execute a routine and return


a result.
6.Conclusion 7

On conclusion the java method and java functions got an important


relation to the programming objectives and improve certain
advantages that make it better than other and for this more used
and more qualified.
7.Recommendation 8

- Consider to visit some variety of pages to check out good


content.
- Take on consideration of the scientific studies done.
- Analyze the information by yourself.
8. Annex 9
9.Bibliography 10

 (2019). Retrieved 14 August 2019, from https://www.quora.com/What-are-the-advantages-of-


method-overriding-in-Java

Article title: Programación en Java/Funciones - Wikilibros


Website title: Es.wikibooks.org
URL: https://es.wikibooks.org/wiki/Programaci%C3%B3n_en_Java/Funciones

Article title: Java Methods


Website title: W3schools.com
URL: https://www.w3schools.com/java/java_methods.asp

You might also like