A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Java in General
VB & Java "Option" Question.
Joined: Sep 25, 2004
Oct 30, 2004 03:17:00
I have a function having
public void getTel(
str, String Narration1, String Destination)
Like in Visual Basic we normally use Optional command between parameters like
public void getTel(String str, String Narration1, Optional String Destination)
Due to which we are capable to use the same function regardless of declaring Destination parameter.
Is there any type or anything available in
who can do the same for me.
Love is GOD and GOD is Love.<br /> <br />Anand Karia<br />Manager I.T<br />Artistic Garment Ind. Pvt. Ltd<br />MSC (Computer Science)
Joined: Sep 24, 2003
Oct 30, 2004 03:52:00
Yes, method overloading.
Java Q&A (FAQ, Trivia)
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: VB & Java "Option" Question.
whether Object is a keyword?
Can we convert "Array of Strings" to a "String"??
formal parameter on functions in java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013