this post was submitted on 01 Aug 2023
286 points (94.1% liked)

Programmer Humor

19623 readers
3 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
[–] [email protected] 23 points 1 year ago (1 children)

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

[–] [email protected] 7 points 1 year ago (2 children)

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

[–] [email protected] 2 points 1 year ago

that's how I like my coffee

[–] [email protected] 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.