Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » ADT(Abstract Data Types) in java?
Closed Thread
Old 02-16-2005, 12:40 PM   #1 (permalink)
 
Newb Techie

Join Date: Aug 2004

Posts: 22

vidyaputra

Default ADT(Abstract Data Types) in java?

how to declare an ADT in java???

like, in c there are typedef and struct

-vip-
vidyaputra is offline  
Old 02-16-2005, 04:31 PM   #2 (permalink)
 
Ultra Techie

Join Date: Oct 2003

Posts: 544

fitzjj

Default

It is not possible in Java

http://bugs.sun.com/bugdatabase/view...bug_id=4820062
fitzjj is offline  
Old 02-16-2005, 08:09 PM   #3 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

If you want structs, move to C#. Java just added enums though, so thats a plus
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On