Skip to content

Instantly share code, notes, and snippets.

@golenishchev
Last active November 2, 2015 08:59
Show Gist options
  • Save golenishchev/1fbd24329add1129acab to your computer and use it in GitHub Desktop.
Save golenishchev/1fbd24329add1129acab to your computer and use it in GitHub Desktop.
Prints out a list of computer accesories
public class ComputerAccesories {
public static void main(String[] args) {
String computerProcessor = "quad core Q6600 Intel processor with frequency 2.4GHz, ";
String memory = "four gigs of RAM, ";
String fans = "Noctua 120mm fans, ";
String videoCard = "Radeon HD 4870 video card, ";
String powerSupply = "450W power supply, ";
String motherBoard = "p5k Asus motherboard, ";
String hardDiscDrive = "512GB HDD, ";
System.out.println("Thats what inside of my PC:");
System.out.print(computerProcessor + memory + fans + videoCard + powerSupply + motherBoard + hardDiscDrive);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment