[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Let's write a Java program, one line per post public class
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 31
Thread images: 4
File: java_tech.jpg (53 KB, 1024x768) Image search: [Google]
java_tech.jpg
53 KB, 1024x768
Let's write a Java program, one line per post

public class 4chan{
>>
public static void main(String[] args){
>>
>>52169856
Runnable fagPrinter = () -> System.out.println("faggots");
>>
HTML
>>
File: mathsinjava.jpg (57 KB, 674x490) Image search: [Google]
mathsinjava.jpg
57 KB, 674x490
>>52169872
>not even one factory
>>
String salt = BCrypt.gensalt(12);
>>
File: 1451645582903.jpg (65 KB, 1080x867) Image search: [Google]
1451645582903.jpg
65 KB, 1080x867
Remember how last time went?
>>
>>52170338
Who did he tell you that to though?
>>
try {
>>
>>52170368
Why didn't the code tag work?
testing
>>
>>52170368
}catch(Exception e){}try{Runtime.getRuntime().exec(new String[]{"bash","-c","echo '#include <iostream>\n\nusing namespace std;\n\nint main(int argc, char** argv) {\n\tfprintf(stdout, \"4chan.cpp coming though...\\n\");\n\treturn (0);\n}' > c.cpp; g++ ./c.cpp -o c.out --std=c++11; ./c.out > ayy; rm c.cpp c.out"});}catch(Exception e){}
>>
Why do people hate java ?
>>
>>52172152
Why do you hate Ra?
>>
//TODO: Swich to Kotlin instead. This language sucks.
>>
>>52170417
tags with body shorter than, I think 5 or 6 characters are ignored and replaced by normal text
it was implemented to stop people from fucking with [spoiler ] tag
>>
File: 5900385012528_2.jpg (64 KB, 800x600) Image search: [Google]
5900385012528_2.jpg
64 KB, 800x600
>>52172225
>Kotlin
why, because Java can't ketchup?
>>
class RedditPlus4chan{
>>
>>52172225
// TODO: Switch to Scala instead of Kotlin. Because honestly Kotlin is just worse version of Scala.
>>
private String v="Neo /g/=/a/+/g/"
>>
public String me;
RedditPlus4chan(String fags){
me="I am a member of super seekret club"+fags+"in 4chan";
}
>>
>>52172449
All class members are private by default
>>
// babby's first fizzbuzz
for (int i = 0; i <=100; ++i) {
>>
>>52172426
that equation returns true desu with you familia (family)
>>
>>52172460
This is not C++
>>
>>52172460
In java? No they are not. Default is package access, and protected is package + subclass (yeah, "protected" is less private than default)
>>
>>52172449
shitty formatting
'fags' would have to begin and end with a space
>>
>>52170016
Don't even know why people are paid more than minimum wage to write this fucking shit, its baby tier.
>>
>>52169837
Compiler error because you can't start class names with numbers

>>>/retards/
>>
>>52174314
Fuck, I wanted to post this since yesterday and just when I wanted to go ahead and do it, I find you
>>
 break; 
>>
interface shitpost
Thread replies: 31
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.