Return histo
like this:
public static int[] histograma(int[] notas, int[] histo){
// code
return histo;
}
More Related Contents:
- What is a StackOverflowError?
- How should I use try-with-resources with JDBC?
- IntelliJ inspection gives “Cannot resolve symbol” but still compiles code
- Using Prepared Statements to set Table Name
- object==null or null==object?
- Redirect console output to string in Java
- read the output from java exec
- Eclipse WindowBuilder, overlapping JPanels
- Generics compiles and runs in Eclipse, but doesn’t compile in javac
- Sharing session data between contexts in Tomcat
- How do I save preference user settings in Java?
- How I save and retrieve an image on my server in a java webapp [duplicate]
- Why does Java code with an inner class generates a third SomeClass$1.class file? [duplicate]
- Explain why constructor inject is better than other options [duplicate]
- How do you calculate log base 2 in Java for integers?
- Android 3.1 USB-Host – BroadcastReceiver does not receive USB_DEVICE_ATTACHED
- Making commercial Java software (DRM)
- Java – encrypt / decrypt user name and password from a configuration file
- No resource identifier found for attribute ‘layout_behavior’ in package
- Using contains on an ArrayList with integer arrays
- Mockito: Inject real objects into private @Autowired fields
- HttpClient 4 – how to capture last redirect URL
- Why do floating-point numbers have signed zeros?
- How to make generated classes contain Javadoc from XML Schema documentation
- Steps in the memory allocation process for Java objects
- ExceptionHandler doesn’t work with Throwable
- java file input with rewind()/reset() capability
- Convert OffsetDateTime to UTC Timestamp
- calculate business days including holidays
- Why do java source files require package declarations?