wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Method call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Method call" Watch "Method call" New topic

Method call

Rashmi Dupati

Joined: Mar 05, 2007
Posts: 22
Hello all

Can we pass null parameter to a meathod?


like this for the method

public static void test(String str){
//some code goes here

Thanks in advance

Joe Ess

Joined: Oct 29, 2001
Posts: 8927

Why don't you try it and let us know what you find out?

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link: http://aspose.com/file-tools
subject: Method call