wood burning stoves 2.0*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "code info" Watch "code info" New topic
Author

code info

dariusz rusiecki
Greenhorn

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
 
Consider Paul's rocket mass heater.
 
subject: code info