School Survival Forums
System.out.println("Java :D"); - Printable Version

+- School Survival Forums (http://forums.school-survival.net)
+-- Forum: The Lounge (/forumdisplay.php?fid=34)
+--- Forum: Other Languages (/forumdisplay.php?fid=17)
+--- Thread: System.out.println("Java :D"); (/showthread.php?tid=27481)



System.out.println("Java :D"); - Ky - 09-12-2012 08:55 AM

class Thread
{
public static void main ( String [] args )
{
System.out.println("I saw a C++ thread, and wanted to make something like it.");
System.out.println("So, I'm basically taking the little information I learned in one of my classes,");
System.out.println("and transferring it here.");
System.out.println("If you don't know Java, you might be able to understand me,");
System.out.println("but only in part.");
}
}


RE: System.out.println("Java :D"); - Absnt - 09-13-2012 05:09 AM

#isostream
main(){
cout << "Hello fellow programmer.\n";
cout << "How are you today?\n";
cout << "Is that javascript or java?";
}


System.out.println("Java :D"); - Ky - 09-13-2012 07:12 AM

class Reply1
{
public static void main ( String [] args )
{
System.out.println("I can't understand your accent.");
System.out.println("You appear to be speaking in the C languages.");
System.out.println("This is Java, as in the programming language.");
}
}


RE: System.out.println("Java :D"); - V.R. - 09-13-2012 10:25 AM

>2012
>Main function

print("Fuck the old schooool.")


System.out.println("Java :D"); - Ky - 09-13-2012 11:03 AM

class Reply2
{
public static void main ( String [] args )
{
System.out.println("wat");
}
}


RE: System.out.println("Java :D"); - V.R. - 09-13-2012 11:15 AM

print("Time to change to something a bit more... unreliable.")

Private Sub

Form1.Show

If StaticTyping.Checked = True Then
MsgBox "damn nigga be a new age code monkey and go Ruby or some shit IDK"
Else
If StaticTyping.Checked = False Then
MsgBox "and don't forget to use an integrated development environment, el boyo"
EndIf

End Sub


never liked VB6. have forgotten it by now, so apologize for the cryptic example, it's shit I remember from tuts. but hey, if you're a VB coder, then doing WTF spaghetti coding is just the norm. Oh and if you decide to become a nonconformist, well, you got Object Pascal.


System.out.println("Java :D"); - Ky - 09-13-2012 12:11 PM

class Reply3
{
public static void main ( String [] args )
{
System.out.println("I prefer Java. It's the only programming language I know.");
}
}


RE: System.out.println("Java :D"); - Absnt - 09-13-2012 01:38 PM

#isostream
main(){
cout << "So we got C, python, and java?\n";
cout << "Also main function master race.\n";
}


RE: System.out.println("Java :D"); - LOON_ATTIC - 09-13-2012 03:55 PM

Code:
public class fuckshit {
        // where the fuck did I put my rot13 function? ...whatever
        static String dcod(int[] blarray) {
                int i;
                String out = "";
                for (i=0; i<blarray.length; i++) {
                        out+=(char)(blarray[i]-2*i);
                }  
                return out;
        }  

        public static void main(String args[]) {
                int[] asd = {74,99,122,103,40,108,120,125,135,133,52,119,139,141,74,62,99,66,141,153,72,140,​145,162,164,151,166,100,88,126,171,127,96,181,185,169,179,189,108,194,191,193,11​6,144,128};
                String dsa = dcod(asd);

                System.out.println(dsa);
        }  
}
Meh, I'm starting to sort of like Java anyway, but I dunno.


RE: System.out.println("Java :D"); - LOON_ATTIC - 09-13-2012 05:55 PM

// A representative from SUN Microsystems was interviewed shortly after the release of Java, comparing it with its predecessor C=C+1

Living.Eukaryote.Animal.Chordate.Vertebrate.Mammal.Therian.Primate.Anthropoid.Ho​minid.Homo.Sapien.White Interviewer;

Living.Eukaryote.Animal.Chordate.Vertebrate.Mammal.Therian.Primate.Anthropoid.Ho​minid.Homo.Sapien.Black Representative;

Interviewer.say("So tell us how Java compares to C++.");

Representative.say("You know what the funniest thing about C++ is? It's the little differences. A lot of the same shit we got in Java, they got in C++, only its a little different.");

Interviewer.say("Example?");

Representative.say("Well, in C++, you can get a pointer to a variable. And I don't mean an object reference, I mean a memory address, like in assembly! You can get a pointer to a function. You know what they call an \"import\" statement in C++?");

Interviewer.say("They don't call it an import statement?");

Representative.say("No, they got a preprocessor there, they wouldn't know what the fuck an import statement was.");

Interviewer.say("What'd they call it?");

Representative.say("An #include statement.");

Interviewer.say("#include statement! What do they call a string?");

Representative.say("A string's a string, only they call it char*.");

Interviewer.say("char*, hehehe, what do they call a subclass?");

Representative.say("I don't know, I didn't use inheritance. But you know what they put their classes into in C++ instead of packages?");

Interviewer.say("What?");

Representative.say("Namespaces.");

Interviewer.say("Goddamn!");

Representative.say("I seen 'em do it! And I don't mean a little bit on the side, they fuckin' drown those classes.");

Interviewer.say("Yech!");


RE: System.out.println("Java :D"); - LOON_ATTIC - 09-13-2012 05:59 PM

hello world

interface Printer {
void print(Message message);
}

class Message {
private String message;

public Message(String message) {
this.message = message;
}

public void print(Printer printer) {
printer.print(this);
}

public String toString() {
return message;
}
}

abstract class AbstractPrinterFactory {
public static AbstractPrinterFactory getFactory() {
return new SystemOutPrinterFactory();
}

public abstract Printer getPrinter();
}

class SystemOutPrinterFactory extends AbstractPrinterFactory {
public Printer getPrinter() {
return new SystemOutPrinter();
}
}

class SystemOutPrinter implements Printer {
public void print(Message message) {
System.out.println(message);
}
}

class HelloWorld {
public static void main(String[] args) {
Message message = new Message("Hello, World!");
AbstractPrinterFactory factory = SystemOutPrinterFactory.getFactory();
Printer printer = factory.getPrinter();
message.print(printer);
}
}


System.out.println("Java :D"); - Ky - 09-14-2012 06:26 AM

// *sigh*


RE: System.out.println("Java :D"); - V.R. - 09-14-2012 11:57 AM

<!-- I am a web designer who uses the <marquee> and <blink> tags and just wanna let you guys know, I use an XHTML doctype but I don't like closing my tags. also CSS positioning is for losers. Tables, baby. Tables. -->


System.out.println("Java :D"); - Ky - 09-14-2012 12:15 PM

// *another sigh*


RE: System.out.println("Java :D"); - Absnt - 09-14-2012 12:34 PM

lol


System.out.println("Java :D"); - lamefun - 09-22-2012 10:21 PM

while (!confirm('JavaScript is what has been prescribed for people by the Global Government. Soon it\'ll be the only programming langauge accessible for mere mortals! Running binary code will be legally banned! Free Software will be banned! Jailbreaking will be banned! People will have to use HTML5 and JavaScript! Are you going to start converting all your code to JavaScript today?'));


RE: System.out.println("Java :D"); - SoulRiser - 09-23-2012 12:15 AM

Code:
<?
echo "lol why so much redundant code just to print something on screen?";
?>



RE: System.out.println("Java :D"); - Ky - 09-23-2012 02:24 AM

class Reply4
{
public static void main ( String [] args )
{
System.out.println("wat");
}
}


System.out.println("Java :D"); - AtheistLGBTQAnarchist - 09-29-2012 12:47 PM

Ok,bump and whats this about?I'm too tired to read these complex comments.


RE: System.out.println("Java :D"); - Ky - 09-29-2012 02:05 PM

(09-29-2012 12:47 PM)YoungestAnarchist Wrote:  Ok,bump and whats this about?I'm too tired to read these complex comments.
Syntax error detected.


System.out.println("Java :D"); - AtheistLGBTQAnarchist - 09-30-2012 02:12 AM

I have a Turkish teacher so maybe I can turn your computer talking in the real language. Merhaba=hello
I should make a thread about this.


System.out.println("Java :D"); - Ky - 09-30-2012 03:17 AM

class Reply5
{
public static void main (String [] args)
{
System.out.println("The text I want to output is located here.");
System.out.println("I am currently speaking in Java.");
System.out.println("Have you no idea what this means?");
}
}


System.out.println("Java :D"); - AtheistLGBTQAnarchist - 09-30-2012 09:43 AM

I should learn about this stuff.


System.out.println("Java :D"); - Ky - 09-30-2012 10:12 AM

//*yet another sigh*


System.out.println("Java :D"); - AtheistLGBTQAnarchist - 10-01-2012 08:47 AM

I just figured out 2+2= the binary number for 2!


System.out.println("Java :D"); - Fordun - 04-11-2013 07:24 AM

#include <iostream>
#include <cmath>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
inline void keep_window_open() {char ch; cin>>ch;}
int main()
{
cout<<"C++ is the only real computer language Wink \n";
cout<<"So happy to see more programmers here Wink \n";
cout<<"Still a newbie so i am most likely making a ton of mistakes";
cout<<"that aren't picked up by the compiler by are generally";
cout<<"considered bad programming practices.\n";

keep_window_open();
return 0;

}


System.out.println("Java :D"); - Ky - 04-11-2013 11:29 AM

class OutdatedReply
{
public static void main (String [] args)
{
System.out.println("Java is where it's at.");
System.out.println("Oh, and this thread died a few months ago.");
}
}