Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java won't work

Name: Anonymous 2010-09-23 19:47

why?

import java.text.DecimalFormat;
public class Internetcosts
{
    public static void main(String[] args)
    {
        int hours = 10;
        double packa = 9.95;
        double packb = 13.95;
        double packc = 19.95;
       
        DecimalFormat formatter = new DecimalFormat("#00.00");
       
        System.out.print("Hours     Pack A     Pack B     Pack C");
        System.out.print("-----------------------------");
       
process_hours:
        System.out.print(formatter.format(packa + 2));
        System.out.print(formatter.format(packb + 1));
        System.out.print(formatter.format(packc);
        ++hours;
        if(hours <= 50)
            goto process_hours;
    }
}

Name: Anonymous 2010-09-24 7:55

The next version of Java will include CallWithCurrentEnterpriseContinuation(new FunctionWrapper(x)) where x is an object of class ContinuationReceiver which implements the ContinuationCallee interface which requires you to define methods isAvailable(), isItReallyAvailable(), aboutToCallIt(), targetCalleeMethod() and itsDoneJustSoYouKnow(), but don't worry because you can inherit two of them from BaseContinuationReceiver.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List