Create an object of a class
We can create an object of a class using the new operator
public class Util {
public static void main(String[] args) {
Thread t = new Thread();
}
}
Tags: object, object creation
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply