jQuery in Action, 2nd edition
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes cross parameter cant compile Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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: 26489
    
  78

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: 16487
    
    2

I never heard of "cross parameters" either.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: cross parameter cant compile
 
Similar Threads
Casting int to long
reference to method1 is ambiguous ..... java can't decide whic one to call.
var-args and overloading
Overloading var-args and array
static methods and NULL