This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes code info Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "code info" Watch "code info" New topic

code info

dariusz rusiecki

Joined: Apr 26, 2004
Posts: 4
which of the 4 statements is equivalent to the code below
Point p;
p = new Point(10, 10);

1 - Point p = new (10, 10);
2 - Point p = new Point(10, 10);
3 - Point p = Point(10, 10);
4 - Point p = new Point();
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
I agree. Here's the link:
subject: code info
Similar Threads
How to write generic method for this method?
3 questions regarding JPanel.
What can be done to stop flickering of the image??
equals and to string method