19 more posts in this thread. [Missing image file: Java_Logo.jpg]
Anyone feel like helping me out? I've been working on my Java program, but I'm having a little trouble, I'll post my code below, but here's the assignment:
(The Location class) Design a class named Location for locating a maximal value and its location in a two-dimensional array. The class contains public data fields row, column, and maxValue that store the maximal value and its indices in a two-dimensional array with row and column as int types and maxValue as double type.
Write the following method that returns the location of the largest element in a two-dimensional array:
public static Location locateLargest(double a)
The return value is an instance of Location. Write a test program called TestLocation that prompts the user to enter two-dimensional array and displays the location of the largest element in the array. Here is sample run:
Enter the number of rows and columns of the array: 3 4
Enter the array:
23.5 35 2 10
4.5 3 45 3.5
35 44 5.5 9.6
The location of the largest element is 45 at (1, 2)
20 more posts in this thread. [Missing image file: 1364141318406.png]
So today I was walking to the office and suddenly I have this friend of mine joining me in the walk. It was still an awful end so we started chit chatting a bit. Until, he suddenly notices my left ear being occupied by an earbud. So he asks me, what are you listening to. "Some old songs of K'naan". He knows him and starts ranting about how nobody knew him and after the last FIFA world cup he went mainstream blablabla. Fucking hipster.
Anyway, he changes the subject and asks me what file format my music is stored in. MP3, I guess. "You guess?!". He stops walking and so do I. He introduces me to this format called FLAC and how it is so much better for portable audio. Sure, buddy. Be a hipster. Even with your file format.
He hurries off and eventually I arrive at the office. So in my spare time wonder what's so special about his hipster format and start gathering information. And I was impressed.
I still have a question though. If it's a lossles format and MP3 runs smooth on 320 kb/s, would there be any audible difference between the two formats at that bitrate?