Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

sql package in awt and swing

 
Santosh Tripathi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DEar friends,

In a program sql package was imported using-->
import java.sql.*;
import javax.swing.sql.*;
what is the diff betn two, it works importing either package.


rgs,

santosh
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can find everything just looking at those packages API.

--
./pope
[the_mindstorm]
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
santosh8,

Welcome to Javaranch! We don't have too many rules around here but we do have a Naming Policy. Please read and adjust your display name accordingly. You change your display name by clicking here.

Thanks.
 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!