A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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.
M/s. Anand Karia Concreting IT
Joined: Sep 24, 2003
Oct 30, 2004 03:52:00
Yes, method overloading.
Java Q&A (FAQ, Trivia)
subject: VB & Java "Option" Question.
Can we convert "Array of Strings" to a "String"??
formal parameter on functions in java
whether Object is a keyword?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014