| Computing desk | ||
|---|---|---|
| < December 10 | << Nov | December | Jan >> | December 12 > |
| Welcome to the Wikipedia Computing Reference Desk Archives |
|---|
| The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
public class Main {
public static void main(String[] args) {
long a = 3;
long t = 1;
long h = 4;
char d = ' ';
float e = 11.7f;
boolean f = true;
String output = + t + a + a + "t" + d + h + "a" + "x" + "x" + "o" + "r" + d + e + d + f;
System.out.println(output);
}
}
7t 4axxor 11.7 true
The part at the beginning is supposed to look like "133t" but instead you see the "7t" the rest turned out the way I intended. Where did the 7 come from? what am I doing wrong? 199.19.248.76 (talk) 02:01, 11 December 2015 (UTC)
On this page: the link to the video-game Hocus pocus links back to the page you just came from... Fact is that this game has no page of his own (wich I regret) but I still think it's pretty useless to have a link there that links back to itself. Oxygene7-13 (talk) 14:32, 11 December 2015 (UTC)
Do the battery, RAM, internal wifi, and anything the computer interacts with need some sort of driver? Is it all included in the BIOS?--Scicurious (talk) 16:32, 11 December 2015 (UTC)
New to Java. Can someone help me with a method that adds two numbers, but receives them as message arguments from another object instead of prompting the user or having them hard coded in? I don't know how to have it wait for that input. Thank you. 94.1.49.144 (talk) 20:18, 11 December 2015 (UTC)
int add (int a, int b){
return a+b;
}
int firstNumber, secondNumber;
firstNumber = _;
secondNumber = _;
return firstNumber + secondNumber;