package com.example.javajokesprovider;

public class JokesProvider {
    private static String[] mJokes =
            {" A plateau is the highest form of flattery.",
            "It's hard to explain puns to kleptomaniacs because they always take things literally.",
            "Time flies like an arrow, fruit flies like a banana.",
            "A soldier survived mustard gas in battle, and then pepper spray by the police. He's now a seasoned veteran.",
            "What's the best thing about Switzerland? I don't know, but their flag is a huge plus.",
            "I told my doctor that I broke my arm in two places. He told me to stop going to those places.",
            "I'm addicted to brake fluid, but I can stop whenever I want.",
            "How do you keep an idiot in suspense?",
            "It takes a lot of balls to golf like me.",
             "What do you call a magic dog? A Labracadabrador."};

    public static String getJoke() {
        int randomJoke =  (int)(Math.random() * mJokes.length - 1);
        return mJokes[randomJoke];
    }
}

@@ -116,10 +116,10 @@
    %7B
-%22
  
+%22
 A pl
@@ -842,25 +842,24 @@
  like me.%22,%0A
- 
             
@@ -908,16 +908,970 @@
 brador.%22
+,%0A            %22The dyslexic devil worshipper sold his soul to Santa.%22,%0A            %22You kill vegetarian vampires with a steak to the heart.%22,%0A            %22If you want to catch a squirrel just climb a tree and act like a nut.%22,%0A            %22Did you hear about the Mexican train killer? He had locomotives.%22,%0A            %22What kind of shoes do ninjas wear? Sneakers.%22,%0A            %22How does NASA organize their company parties? They planet.%22,%0A            %22What do you call dangerous precipitation? A rain of terror.%22,%0A            %22What do you call a big pile of kittens? A meowntain.%22,%0A            %22Just went to an emotional wedding. Even the cake was in tiers.%22,%0A            %22What do you call a dinosaur with a extensive vocabulary? A thesaurus.%22,%0A            %22How did the hipster burn his tongue? He drank his coffee before it was cool.%22,%0A            %22Dry erase boards are remarkable.%22,%0A            %22How do you make Holy water? Boil the hell out of it.%22 
 %7D;%0A%0A    

Add more jokes