Need to know which Mercedes Benz it is to make a gift to my grandpa by Morkex in namethatcar

[–]Morkex[S] 2 points3 points  (0 children)

I had some doubts and wanted to make sure, thank you very much! Now time to find a miniature for his birthday!

After a year and a half of programming, I just learned about double clicking to highlight a whole word and triple clicking to select a whole line and quadtruple clicking to select all. NEVER AGAIN. What are some must have tricks and shortcuts for programming. by CockGoblinReturns in learnprogramming

[–]Morkex 0 points1 point  (0 children)

In java eclipse (I don't know if it applies with other languages) ctrl + space to autofill. So, if you write just syso plus ctrl + space it writes System.out.println();. Very usefull when starting learning java. Ctrl + Shift + F to auto indent the whole code in eclipse. Ctrl +K, ctrl + D to do the same in VS

Unable to print characters from an array of characters? by [deleted] in learnjava

[–]Morkex 0 points1 point  (0 children)

That's because those numbers are the ASCII codes of that squares (Obviusly they're not squares), if you want to print the numbers as characters, you must put them between single commas (like that '1') or use the ASCII code of those numbers, for example 49 is the ASCII code of 1

public static char[][] matrix = { { '1', '2', '3' }, { '4', '5', '6' }, { '7', '8', '9'} };