[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
Teach me how to Java
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: 32
Thread images: 7
File: image.png (7 KB, 259x259) Image search: [Google]
image.png
7 KB, 259x259
Teach me how to Java
>>
System.out.println("No.");
>>
Inb4 JVM is so slow why don't you use Ruby hurr durr
>>
>>53518589
public static void(args) { return OPs.life() }
>>
>>53518834
Null Reference Exception
>>
File: JS47622759[1].jpg (38 KB, 615x409) Image search: [Google]
JS47622759[1].jpg
38 KB, 615x409
>java

give me ram, give me more ram
>>
>>53518589
> java
>>
>>53518589
I love java for programming. After just one cup you're ready to tackle programming challenges in a real language like C.
>>
>>53518995
Hahahha xD
>>
File: 1455528662292.jpg (74 KB, 480x582) Image search: [Google]
1455528662292.jpg
74 KB, 480x582
>>53519007
> xD
faggot
>>
>>53519055
Hi, can you please edit your post to remove that homophobic slur?

There was literally no reason to use it in the context of this thread. It wasn't funny or clever or interesting, you were just being edgy and offensive for no reason. You don't need to try so hard to fit in, you don't need to pretend to be racist or homophobic just because you're posting on 4chan. No one knows or cares that you've only been here a short while. Just relax and be yourself.

Thanks in advance.
>>
>edit post
>4chan
found the newfag
>>
>>53519099

Reddit is another way.
>>
>>53518834
>void
>return
Jesus christ anon
>>
>>53519099
>you were just being edgy
>edgy

Hi, can you please edit your post to remove that geometriphobic slur?

There was literally no reason to use it in the context of this thread. It wasn't funny or clever or interesting, you were just being edgy and offensive for no reason. You don't need to try so hard to fit in, you don't need to pretend to be racist or geometriphobic just because you're posting on 4chan. No one knows or cares that you've only been here a short while. Just relax and be yourself.

Thanks in advance.
>>
>>53519099
>Just relax and be yourself.
I am what you people call homophobic and also to some extent racist.
>>
>>53519131
You're acting really childish right now. We're having a discussion and there's no need for anyone to use trip codes

I know it's the "in thing" to be a faggot You're trying to "fit in" with the 4chan crowd. But you don't need to demean anyone to enjoy 4chan. Stop trying so hard and be yourself instead.

Thanks.
>>
>>53519185
You are baiting, right?
>>
File: 2016-03-14-14-14-54-495507164.jpg (6 KB, 259x194) Image search: [Google]
2016-03-14-14-14-54-495507164.jpg
6 KB, 259x194
>>53519185
> you
>>
>>53519201
> calling this a discussion
of course he is
>>
>>53519185
>you don't need to demean anyone to enjoy 4chan
but i still want to
>>
There is literally nothing wrong with using java.
>>
File: 1457960047583.jpg (10 KB, 200x200) Image search: [Google]
1457960047583.jpg
10 KB, 200x200
>>53519254
good one anon, thank you
>>
>>53519272
if java is so bad , why is every single college and university teaching it?

Also runescape was programmed in java

checkmate atheist
>>
>>53519131
you tripfag you know that post still looked like shit. we don't need to stoop back to /b/ level of shit.
>>
>>53519472
> java is a language for coding monkeys > industry likes coding monkeys
> industry pays well for java monkeying
> universitys begin to teach java
> java gets hyped
thats why
>>
You put your right foot in
You take your right foot out
You put your right foot in
And you shake it all about
You do the hokey pokey
And you turn yourself around
That's what it's all about

You put your left foot in
You take your left foot out
You put your left foot in
And you shake it all about
You do the hokey pokey
And you turn yourself around
That's what it's all about

You put your right hand in
You take your right hand out
You put your right hand in
And you shake it all about
You do the hokey pokey
And you turn yourself around
That's what it's all about

You put your left hand in
You take your left hand out
You put your left hand in
And you shake it all about
You do the hokey pokey
And you turn yourself around
That's what it's all about

You put your whole self in
You take your whole self out
You put your whole self in
And you shake it all about
You do the hokey pokey
And you turn yourself around
That's what it's all about
>>
>>53518589
Sure, I'll get you started with a hello world program
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.io.IOException;
import java.io.FileReader;
import java.io.BufferedReader;
import javax.vs.rs.Path;
import javax.vs.rs.Get;
import javax.vs.rs.PathParam;
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public abstract class Greetings
{
private String greeting;

public greetPerson()
{
System.out.println(getGreeting())
}
public String getGreeting()
{
return greeting;
}
}

I've done most of the work for you, now you just need to implement tests and unit tests and implement a subclass for the specific case. Also you really need to learn how to document code so I'll leave that as an exercise to you OP.
>>
>>53519919
>lisp is obscure because it's shit
>java is popular because it's shit
you might be shit
>>
>>53518589
Here, this should get you started
http://ddili.org/ders/d.en/index.html
>>
>>53518589
Head First into Java
>>
>>53518589
Reminder that the only advantage Java has over other languages is the JVM
Thread replies: 32
Thread images: 7

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.