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 Programmer Certification (SCJP/OCPJP) and the fly likes cross parameter cant compile 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "cross parameter cant compile" Watch "cross parameter cant compile" New topic
Author

cross parameter cant compile

Mansi Agarwal
Ranch Hand

Joined: Apr 11, 2012
Posts: 53
Hi,

I just read somewhere that cross parameters cant compile. But when I made a sample program it is working fine?
Did I get the cross parameters in wrong way? Here is the example I made-

Please help!!
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

That is perfectly legal. I'm not sure what you mean by cross parameters, but it isn't this.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mansi Agarwal
Ranch Hand

Joined: Apr 11, 2012
Posts: 53
Even I am not sure. If someone has more explanation related to cross parameters then please provide!!
In between I will check my resources!!
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

I never heard of "cross parameters" either.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cross parameter cant compile
 
Similar Threads
Overloading var-args and array
static methods and NULL
Casting int to long
reference to method1 is ambiguous ..... java can't decide whic one to call.
var-args and overloading