Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-13-2009, 12:11 PM
Member
 
Join Date: Aug 2009
Posts: 2
Rep Power: 0
srikantha is on a distinguished road
Default class.forName(" ");
hi,

i have a question

Class.forName("jdbc.odbc.JdbcOdbcDriver"); loads all classes

can?
Class.forName("java.util.*);
loads all the classes in util package
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 08-13-2009, 12:48 PM
RamyaSivakanth's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Chennai
Posts: 589
Rep Power: 1
RamyaSivakanth is on a distinguished road
Default
U can load only single class.Not the entire package.
__________________
Ramya
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-13-2009, 02:23 PM
Member
 
Join Date: Aug 2009
Posts: 21
Rep Power: 0
britto_bicsjohn is an unknown quantity at this point
Default
u can not load
__________________
javadeveloper
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Could not find the main class: comparisonDemo.class. Program will exit." ziisrick New To Java 4 02-10-2009 01:32 PM
MoneyOut.println("It took you (whats wrong?>",year,"<WW?) years to repay the loan") soc86 New To Java 2 01-24-2009 07:56 PM
"source not found" at debug time when creating new class rafamd11 New To Java 0 11-22-2008 02:49 AM
the dollar sign "$", prints like any other normal char in java like "a" or "*" ? lse123 New To Java 1 10-20-2008 08:35 AM
failure at Class.forName("oracle.jdbc.driver.OracleDriver"); RonNYC Eclipse 1 03-14-2008 03:51 PM


All times are GMT +2. The time now is 09:47 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org