Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-16-2009, 04:31 PM   #1
Registered: Nov 2006
Distribution: xubuntu
Posts: 444

Rep: Reputation: 31
Java Objects needs imports?!


Does anybody know if there is any Java boolean method that can be used for determining if an Object is automatically imported by the Java language? For example, the method should return false when asking if the java.lang.String needs to be imported, and false for the java.sql.Date?

Thank you
Old 05-16-2009, 09:14 PM   #2
Registered: Jan 2006
Location: Culver City, California
Distribution: Fedora
Posts: 64

Rep: Reputation: 21
Classes from the package java.lang don't need imports because they are imported automatically for you. Classes from all other packages must to be imported.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Java Data Objects and Service Data Objects in SOA LXer Syndicated Linux News 0 01-17-2009 06:10 AM
Sending Objects to a Webservice (Java) megabot Programming 4 07-03-2006 07:38 AM
java objects zaicheke Programming 3 03-23-2005 06:21 AM
java arrays and objects titanium_geek Programming 13 03-07-2004 01:21 PM
Objects in Java? mikeshn Programming 0 06-11-2002 10:21 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration