• Post Reply Bookmark Topic Watch Topic
  • New Topic

java capabilities  RSS feed

 
prashant fusate
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can Java fieldtypes other than string, int, double etc., so Java fieldtypes like Calendar and Boolean, be returned ?

Thanks
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure I really understand your question. Are you asking if methods in Java can return types other than primitives? If so the answer is yes.
[ September 07, 2006: Message edited by: Paul Sturrock ]
 
Ashok Kumar Babu
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Java method can return any Type.

It can return all the Primitives(int,float,etc...) and all class types.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!