February 08, 2025, 08:03:24 AM

1,531,393 Posts in 46,737 Topics by 1,523 Members
› View the most recent posts on the forum.


I FUCKING HATE JAVA

Started by Daddy, May 11, 2008, 07:49:08 PM

previous topic - next topic

0 Members and 2 Guests are viewing this topic.

Go Down

Daddy

JDJLKAJKF
AF
FFUCKING

FUCK YOU ASSERTIONS AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA


I'VE WRITTEN FIVE DAMN PROGRAMS THIS WEEKEND AND NOW I NEED TO DO THIS ASSERTION SHIT I HATE IT DAMMIT JAVA FUCK YOU

36chambers


Ricky

I've been pissed with JS lately. Php I can handle.

Does Java return errors?

Daddy

Quote from: Ricky on May 11, 2008, 07:50:35 PM
I've been pissed with JS lately. Php I can handle.

Does Java return errors?
AASSKDJFKLSF
Quotejames-valentes-computer:~ jamesvalente$ cd ./Desktop/java
james-valentes-computer:~/Desktop/java jamesvalente$ java -ea AssertTest
Enter a number between 0 and 10: 20
Exception in thread "main" java.lang.AssertionError: bad number: 20
        at AssertTest.main(AssertTest.java:15)
james-valentes-computer:~/Desktop/java jamesvalente$ java -ea AssertTest
Enter a number between 0 and 10: 4
You entered 4
james-valentes-computer:~/Desktop/java jamesvalente$




ASSSERTSIONSSFKLAS HELP WITH IT

YPrrrr

Can't you just do this with Ricky in PMs or something?

Ricky

Have fun, my friend. Have fun. powerofone;

Daddy

Quote from: Your Posting Rival on May 11, 2008, 07:55:22 PM
Can't you just do this with Ricky in PMs or something?
No, I needed some way to vent.

You try coding for two days entirely.

IT DRIVES YOU FUCKING INSANE

Daddy


Ricky

DO NOT LET THE CODE BEAT YOU

YOU ARE IN CHARGE. SHOW THE CODE. BE THE CODE.

Socks


Daddy

Quote from: General Socks on May 11, 2008, 08:09:49 PM
Gibberish.
// CodeTester.java

package inventorywarehouse;
import java.util.Scanner;
import javax.swing.JOptionPane;
import javax.swing.*;
public class CodeTester {
   
       
   
    String sku;
    double price;
    int quantity;
    String itemdesc;
   
   
    public CodeTester() {
    }
    public static void main(String[] args) {
       Scanner input = new Scanner( System.in );
        final char YES = 'Y';
        final char NO = 'N';
        final char QUIT = 'Q';
              
        final int INV_NUMBER = 5; // Represents the numbers to be entered for testing purpose
        InventoryExtended []invarray  = new  InventoryExtended [INV_NUMBER]; // create and define the array
       
       
       System.out.println( "DICKS"); //
       System.out.println( "================================================\n");
      
       System.out.println( "The Records are being Generated,Pls Wait ......\n");
       System.out.printf("%6s%13s%18s%22s\n", "SKU","Price","Quantity","Description");
      
       // Loop for populating the array
      
       for (int dbase =0; dbase < INV_NUMBER;dbase ++) {
           invarray [dbase] = new InventoryExtended ("Number" + dbase,dbase * dbase, dbase * dbase * dbase,"Yoghurt Milk");   
       }
      
       Warehouse code = new WarehouseExtended  (invarray,INV_NUMBER);
       System.out.println (code);
             
          
     
      while (true){
           
            String ask = JOptionPane.showInputDialog(null,"Do You want To Read A Particular Record");
           
            if (ask == null)
                break;
           
            if (ask.toUpperCase().charAt(0) == YES) {
               
                String read = JOptionPane.showInputDialog(null, String.format(" Type The Record Index number" +
                        " Between 1 And %d.", INV_NUMBER));
                int index = Integer.parseInt(read);
               
                if (index == 0) {
                    JOptionPane.showMessageDialog(null, String.format("Key in The Value You Would Like" +
                            " To Read Between 1 and %d",INV_NUMBER),
                            "MAJOR ERROR: Out Of Bounds", JOptionPane.ERROR_MESSAGE);
                } else {
                    JOptionPane.showMessageDialog(null, String.format("This is The Record For The Index Value %s:\n %s",
                            index, code.readRecord(index-1)));
                    System.out.println(code.readRecord(index-1));
                }
               
            } else {
               
                String help = JOptionPane.showInputDialog(null, "Do you want to Delete A Record From The Inventory List?\n");
               
                if (help == null)
                    break;
               
                if (help.toUpperCase().charAt(0) == YES) {
                    String delete = JOptionPane.showInputDialog(null, String.format("Type The Product Index Value\n" +
                            " You Would Like To Delete: Between 1 And %d.", INV_NUMBER), "Warning: Deletion to be done", JOptionPane.WARNING_MESSAGE);
                   
                    int rec = Integer.parseInt(delete);
                   
                    if (rec == 0) {
                        JOptionPane.showMessageDialog(null, String.format("Please Enter A Value Between 1 and %d", INV_NUMBER)
                        , "MAJOR ERROR: Out Of Bounds", JOptionPane.ERROR_MESSAGE);
                    } else {
                        JOptionPane.showMessageDialog(null, String.format("Here Is The Record You Have Just Deleted:\n %s", code.readRecord(rec-1)));
                        System.out.println(code.readRecord(rec-1));
                        code.removeRecord(rec-1);
                        System.out.println(code.toString());
                    }
                   
                } else {
                    String exit = JOptionPane.showInputDialog(null, "Would You Like To Exit From This Program");
                    if (exit.toUpperCase().charAt(0) == YES){
                        break;
                    }
                }
            }
           
        }
    } // End the main method
} // End the class

superclucky

.goldfrapp {
font-family:arial;
font-size:9000px;
}

<div class="goldfrapp">
jmv sucks
</div>
kewns are smelly

Socks

<Dumb>Fuck this shit, on a shit scale it would be a numerical value of 0, representing penis. </Dumb>

Daddy

Quote from: Clucky et al. on May 11, 2008, 08:18:09 PM
.goldfrapp {
font-family:arial;
font-size:9000px;
}

<div class="goldfrapp">
jmv sucks
</div>

if ($user_info['username']=="superclucky")
include("suckjmvsdick.php");

superclucky

Quote from: JMV on May 11, 2008, 08:21:09 PM
if ($user_info['username']=="superclucky")
include("suckjmvsdick.php");
You'd have youknowwho to do that. ;o)
kewns are smelly

Go Up