FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Java Thread





IceCreamTruck
Code:


public class HelloAll {
    public String greeting;

    public HelloAll(String thisText) {
        greeting = thisText;
    }
    public void sayThis() {
        System.out.println(this.greeting);
    }
    public static void main(String[] args) {
        HelloAll thisObject = new HelloAll("Hello, Everyone! Let's talk about Java!");
        thisObject.sayThis();
    }
}

Related topics
Love Is Just a Thread
Java Game
Java
Humour thread - Be Happy
Official, what are you listening to at the moment thread!
JAva HELP
Runnable and Thread
JAVA Trouble
Java classpath problem
All Java-Based Apps Are Unstable
My java applet can not find class file on the server
The many Differences between Java and JavaScript
Why function Java Applets not on http://www.frihost.com?
Java applet error.
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.