Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

c++ operator in java

Status
Not open for further replies.

esdee

Programmer
Apr 12, 2001
143
US
in c++ i can write
public static boolean operator<(someClass pt1, someClass pt2)

thus allowing me to write pt1<pt2

can i do this in java, and how ?

thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top