Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Java
Reason behind the declaration
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
ambikasd
New Member
Join Date:
Sep 2007
Posts:
12
#1
Reason behind the declaration
Nov 26 '07, 12:39 PM
Hi,
Can anyone please tell me, why in java we follow a format of declaring
packages first and then imports?
r035198x
MVP
Join Date:
Sep 2006
Posts:
13225
#2
Nov 26 '07, 01:06 PM
Originally posted by
ambikasd
Hi,
Can anyone please tell me, why in java we follow a format of declaring
packages first and then imports?
There's only one package declaration.
If you don't know which package a class/interface is in then you don't know how to specify your imports.
Comment
Post
Cancel
ambikasd
New Member
Join Date:
Sep 2007
Posts:
12
#3
Nov 27 '07, 04:21 AM
Originally posted by
r035198x
There's only one package declaration.
If you don't know which package a class/interface is in then you don't know how to specify your imports.
Hi,
Thanks for the reply:)
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment