Create a method that gets a specified number (parameter) of floating point numbers from a specified file (parameter).?


Java Programming

2 Answers

  • 9 months ago

    Hi, Shayla.

    How are you getting on with this method? Please post your code along with an explanation of where you're having difficulty. If I just hand you the answer "on a plate", you won't learn anything. So have a go - after all, your teacher/tutor believes you are capable of solving this.

    To get you started, here is how your method header could look:

        public static float[] getFloatsFromFile (int n, File f) throws IOException {

  • 9 months ago

    The output of elements must be a numbered list

Still have questions? Get answers by asking now.