Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Java

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 05-29-2018, 08:38 AM   #1
Pavan Techn
Registered User
 
Join Date: Mar 2018
Posts: 341
Can I import same package/class twice? Will the JVM load the package twice at runtime

One can import the same package or same class multiple times. Neither compiler nor JVM complains about it.But the JVM will internally load the class only once no matter how many times you import the same class.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Pavan Techn is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Affordable & Effective Multi IP Hosting with Great Features from RankFirstHosting.Com rf-harris Post your ad here 0 11-28-2017 04:30 AM
RANKFIRSTHOSTING.COM ⇈ Top Notch C-Class IP Hosting at Low Price with Best Features rf-harris Post your ad here 0 10-04-2017 08:27 AM
RankFirstHosting.Com ~ Cost Effective C-Class IP Hosting with Upto 200 IP Addresses rf-harris Post your ad here 0 07-13-2017 08:03 AM


All times are GMT -7. The time now is 11:33 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.