look at my code 12 replies

  • 1
  • 2

Please wait...

Silberio VIP Member

Bourée

392,744 XP

9th October 2007

0 Uploads

37,216 Posts

2 Threads

#1 2 years ago

look at it  

import java.awt.*;import javax.swing.*;public class DelUno { public static void main (String[] arg) { String osDisp; String l1; osDisp = System.getProperty("os.name"); l1 = "Welcome!\nYou are running "; String l2 = l1 + osDisp; JOptionPane.showMessageDialog (null, l2); }}


qjyUJrq.png



Silberio VIP Member

Bourée

392,744 XP

9th October 2007

0 Uploads

37,216 Posts

2 Threads

#2 2 years ago

wtf y u no code tags


qjyUJrq.png



Nemmerle Forum Mod

Voice of joy and sunshine

298,291 XP

26th May 2003

0 Uploads

28,141 Posts

5 Threads

#3 2 years ago

It appears to be all on one line. You monster. 




Nemmerle Forum Mod

Voice of joy and sunshine

298,291 XP

26th May 2003

0 Uploads

28,141 Posts

5 Threads

#4 2 years ago

import java.awt.*; import javax.swing.*; public class DelUno { public static void main (String[] arg)     { String osDisp; String l1; osDisp = System.getProperty("os.name"); l1 = "Welcome!\nYou are running "; String l2 = l1 + osDisp; JOptionPane.showMessageDialog (null, l2);     } }

I have trouble figuring out why you needed such a complicated string construct just to say what OS someone is running, but maybe that's Java?

I don't speak Java, only drink it.:P




Silberio VIP Member

Bourée

392,744 XP

9th October 2007

0 Uploads

37,216 Posts

2 Threads

#5 2 years ago

it's because I'm badass 

everyone knows the more javas you put in the code the cooler you are


qjyUJrq.png



Superfluous Curmudgeon VIP Member

AOE2 Addict

11,725 XP

22nd December 2007

0 Uploads

793 Posts

9 Threads

#6 2 years ago

"Silberio"look at it  

import java.awt.*;import javax.swing.*;public class DelUno { public static void main (String[] arg) { String osDisp; String l1; osDisp = System.getProperty("os.name"); l1 = "Welcome!\nYou are running "; String l2 = l1 + osDisp; JOptionPane.showMessageDialog (null, l2); }}

[/quote] OMAHGAWD WHAT DID YOU DO!?!? It will break my brain if I look at it any longer.

[quote="Nemmerle"]import java.awt.*; import javax.swing.*; public class DelUno { public static void main (String[] arg)     { String osDisp; String l1; osDisp = System.getProperty("os.name"); l1 = "Welcome!\nYou are running "; String l2 = l1 + osDisp; JOptionPane.showMessageDialog (null, l2);     } }

I have trouble figuring out why you needed such a complicated string construct just to say what OS someone is running, but maybe that's Java?

I don't speak Java, only drink it.:P

Hey, I think I can understand what's going on here. Sort of. Looks like someone took C++, violated it, genetically modified its offspring, and these are the results.




Nemmerle Forum Mod

Voice of joy and sunshine

298,291 XP

26th May 2003

0 Uploads

28,141 Posts

5 Threads

#7 2 years ago

I see the how, I'm just not seeing the why.




Nittany Tiger Forum Mod

*Shrug*

289,096 XP

15th September 2004

0 Uploads

27,136 Posts

0 Threads

#8 2 years ago

Kinda wish you were using C.




Silberio VIP Member

Bourée

392,744 XP

9th October 2007

0 Uploads

37,216 Posts

2 Threads

#9 2 years ago

It's for school, basically. I took a course on distance and it's apparently only java :A

"Nemmerle"I see the how, I'm just not seeing the why.

because I CAN

it's literally the only thing I can do yet  since my skill level is so freaking low


qjyUJrq.png



Dipship

Smarter than your average stump.

71 XP

26th June 2003

0 Uploads

26,967 Posts

0 Threads

#10 2 years ago

I've got a code in my node.


When in doubt, gas it!



  • 1
  • 2