-
Variant return type in Java
Hi,
I'm trying to create a function with Variant return type in java like:
ReadRecord(1) return an int
ReadRecord(2) return a String
Is it possible in java or do i have to use something else.....? Thanks.
-
Look at the Scanner class. Do you know your file layout, so that the first part of the record will always be an int and the second will always be a String?
Similar Threads
-
Replies: 2
Last Post: 06-14-2006, 03:16 PM
-
By synckewl in forum Java
Replies: 1
Last Post: 09-27-2005, 09:12 PM
-
By Mike Tsakiris in forum .NET
Replies: 11
Last Post: 10-04-2002, 05:32 PM
-
By Rob Teixeira in forum .NET
Replies: 15
Last Post: 05-31-2002, 03:30 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|