this post was submitted on 01 Aug 2023
302 points (94.4% liked)

Programmer Humor

19488 readers
823 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] bappity@lemmy.world 23 points 1 year ago (3 children)

can I get uhhhhh NullPointer Exception: Object reference not set to an instance of an object.

[–] randomblock1@lemmy.world 7 points 1 year ago (2 children)

sorry we only have Exception in thread "main" java.lang.NullPointerException, is that okay?

[–] bappity@lemmy.world 2 points 1 year ago

that's how I like my coffee

[–] yum13241@lemm.ee 2 points 1 year ago

How about

Class lol : Object
{
public static init void main (string args)
{
    virtual void A_Start()
    {
          Java.Print(args)
          break
     }
}
}

In case it's not clear, I know nothing about Java.