File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

public class in package

 
Arun Maalik
Ranch Hand
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear sir suppose i would like to devlope a package as follow

package abc;
public class first{
//fun1
//fun2
}
now i will save this package with first name now if i want to store many public class in the abc package then how can i do that because one class contane only one public class , are you getting sir what i want to say hope yes. so how can i do that sir how?

with regad
Arun kumar maalik
 
Surendra Kumar
Ranch Hand
Posts: 236
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you're not storing this package, but you're storing 'first' class in package 'abc'.
You can create as many classes as you want in this package.
 
Ivan Rebrov
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should create multiple files. Each public class in it's own separate file.
[ August 12, 2006: Message edited by: Ivan Rebrov ]
 
Arun Maalik
Ranch Hand
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks sir i understood
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic