File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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)
I agree. Here's the link:
subject: VB & Java "Option" Question.
formal parameter on functions in java
Can we convert "Array of Strings" to a "String"??
whether Object is a keyword?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015