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


Java Programming

2 Answers

  • 8 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 {

    • Commenter avatarLogin to reply the answers
  • 8 months ago

    The output of elements must be a numbered list

    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.