Sunday, November 30, 2014

What is wrong with my driver and or main class
































I am very new to java. My high school just opened up a computer science class.































* new note: I'm sorry. The code is correctly formatted when I edit it, but when I post it, everything is pushed to the left.































When I print it out in the terminal window I get this:































Color: Grey































Memory Capacity: 4































My Songs:[Ljava.lang.String;@36fb6d
































How do I get it to print out the actual name of the songs instead of those mixed characters?































---here is my MyPod class































































public class MyPod































{































public String color;































int memoryCapacity;































public String [] songLibrary;































public MyPod ()































{































color="";































memoryCapacity=0;































songLibrary = new String [3] ;































}
































public String toString ()































{































return "Color: " + color+ "\nMemory Capacity: " + memoryCapacity + "\nMy Songs:"+ songLibrary;































}
































}































---here is my class MyPodDriver































































public class MyPodDriver































{































public static void main (String[] args)































{































MyPod carPod = new MyPod();
































carPod.color="Grey";































carPod.memoryCapacity=4;































carPod.songLibrary[0]="You and Me (Flume Remix)";































carPod.songLibrary[1]="Hanging Tree";































carPod.songLibrary[2]="Gymnopedia";
































System.out.println(carPod);































}































}































































Apple Store Logos Light Up Red in Support of World AIDS Day 2014 [Photos]
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Technobiru :































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Apple has started changing the color of its logo on retail stores to red in support of World AIDS Day 2014.
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Last week the company announced its biggest ever campaign World AIDS day campaign featuring special (RED) apps that bring exclusive new content, with all proceeds going directly to the Global Fund to fight AIDS.
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Additionally, on Monday, December 1—World AIDS Day—Apple will donate a portion of every sale at Apple’s retail and online stores to the Global Fund to fight AIDS.
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































“Apple isn't just in the fight to end AIDS. They are setting a new bar for business, giving $75 million and counting to the Global Fund as part of their partnership with (RED),” said Bono, co-founder of (RED). “I couldn't be prouder to work with them.”
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































The logo at Apple's flagship Sydney store has been changed to red already. You can check out some photos below. Other Apple Stores will follow suit as Monday approaches.
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Read More [via Mashable]