When to use what???
What is the difference between Abstract class and an interface?
When to use what?
Why is it that abstract classes have constructors but not interfaces?
Thanks in advance...
sorry...yawmark..No prob - I was probably a little harsh, but laziness is rampant here. I've summarized some useful links below:
Java Glossary : interface vs abstract class
Abstract classes vs. interfaces: When does it make sense to choose an abstract class over an interface?
Abstract classes and interfaces practicum: Move from theory to practice on when to employ abstract classes vs. interfaces
Tech Tips: ABSTRACT CLASSES VS. INTERFACES
Similar Messages
-
Select-options and Parameters, when to use what?
Hi gurus,
I have been using Parameters for long. Now I want to choose a range of values, which I need to retrieve from database.
I tried using select-options. Can't I use 2 parameters that is parameter1 and parameter2 and mention query BETWEEN para1 AND
para2, and when I use NO INTERVALS and NO EXTENSION together, it behaves same like parameter, then why did SAP gave these
extensions.Hi friend,
Simple differences between Select-options and parameters.
Select-Options Uses keyword 'for'
Parameters Uses keywords 'like', 'type'
Select-Options Uses operator 'in'
Parameters Uses operator '='
Select-Options Provides ranges for selection
Parameters No ranges only single value
Select-Options Creates selection table
Parameters No selection table
Select-Options When i/p blank all records selected
Parameters When i/p blank none is selected
Note:
Select options can act as parameters by using 'no-extension' 'no intervals', but all records will be selected when i/p is blank unlike parameters.
Might be helpful..
Thanks...
Edited by: Guest77 on Feb 10, 2009 5:44 AM -
Can any body tell me when to use what Bean?
Hi ,
I am naive to EJB . I want to know when to use which bean . Pls quote with an example.
Thanks in advance .
Mahesh L.I would highly recommend picking up a book on EJBs
Professional EJB - Wrox
Enterprise JavaBeans - O'Reilly
Mastering Enterprise JavaBeans - Sams
These are all excellents books and will explain in great detail with sample code how to program EJBs -
When to use what project type?
Hi,
I am kind of baffled by the use of Flash Project in Flash Builder 4.
Flex Project is for build RIA\Flex applications with a design view available for creating the GUI.
ActionScript projects allow you to program\debug AS3 code and only when you run the application you get a visual feedback.
1) But when will I want to use Flash Projects?
The reason I am asking is that I have a project that currently works by running a main swf file that in turn loads additional swf files (Sorry I can't show you a demo), switching the loaded swf every 30 seconds.
I am leaning to use a Flash Project to manage my project. On the other hand, I could move the entire project to Flex and implement the different swfs as different states of the GUI.
2) What do you think?
Thanks for your help and feedbacks.You can start reviewing this topic from here
http://help.adobe.com/en_US/flashbuilder/using/WS6f97d7caa66ef6eb1e63e3d11b6c4d0d21-7ffb.h tml#WSbde04e3d3e6474c4-63107a8b12642da83ed-8000
I would also want to add some details about my project that cause me to ponder on what project type to use.
1) My project involves multiple flash\swf files that are loaded during work. I need to manage their creation.
2) All my swfs are loaded as part of a single application that runs in the backgrounds and loads each swf to display different information.
3)I have many as3 files that I use and would also like to manage them properly.
4) I would have liked to manage the project under a cvs project, like you can do with Java, so I don't have to do manual backups.
Any ideas? -
hello sir
1. I have developed one project , where different types of facelet pages are created. but i m confused, what is the rule to use these facelet file , different options displays are as :
new Facelet Composition Page
new Facelet Footer
new Facelet Header
new Facelet Template
2. new facelet composition page was created in Web Content folder , while new facelet footer , new facelet header, new facelet template pages were created in WEB-INF folder
what is the concept, tell me sir
Regards
Inamsorry...yawmark..No prob - I was probably a little harsh, but laziness is rampant here. I've summarized some useful links below:
Java Glossary : interface vs abstract class
Abstract classes vs. interfaces: When does it make sense to choose an abstract class over an interface?
Abstract classes and interfaces practicum: Move from theory to practice on when to employ abstract classes vs. interfaces
Tech Tips: ABSTRACT CLASSES VS. INTERFACES -
1)Now I use Lightrom 5.7 how to upgrade to 6 or CC?
2) What is the difference between 6 and CC version?
3) When I used lightromm 3, I could see in EXIF the distance in meters till the object I took, in the later virsions that function disappeared, it is very sad I am stiil waiting and hope that it would be possibble in the new versions. Or this indication may possible by setting?1)Now I use Lightrom 5.7 how to upgrade to 6 or CC?
Purchase the standalone upgrade from here: Products
Download CC version from here: Explore Adobe desktop apps | Adobe Creative Cloud
2) What is the difference between 6 and CC version?
See this comparison chart: Compare Lightroom versions | Adobe Photoshop Lightroom CC
3) When I used lightromm 3, I could see in EXIF the distance in meters till the object I took, in the later virsions that function disappeared, it is very sad I am stiil waiting and hope that it would be possibble in the new versions. Or this indication may possible by setting?
Rob Cole's ExifMeta plugin displays the Subject Distance field (and much more). Unfortunately, his Web site appears to be down again. He used to be very active here, but he hasn't posted in several months. -
I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?
The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
Menu > Format > Import Styles
The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
Peter -
Hi I am trying to connect my mba mid 2011 with an imac 27" 2011 with target display mode tdm. When I am using a thunderbolt cable nothing will work. When I use a minidisplay cable, both screens turn blue but eventually nothing happens. What is the problem
Your answer is likely in Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support If you are familiar with this document, please re-read it and I suspect you may find something you either missed or are doing incorrectly.
-
I want to buy a hard case for my macbook pro, but I don't know what year it is. When I use the serial number to try and find out, all it says is, "~VIN,MacBook Pro (15-inch Glossy)". When I type that into amazon for a case it gives me nothing!
Hi T,
Either of these will give you the info you seek:
http://www.appleserialnumberinfo.com/Desktop/index.php
http://www.chipmunk.nl/klantenservice/applemodel.html -
I recently bought an ipad 2 and wanted to use all the apps on my iphone4 on my ipad but have been charged for the first app I downloaded when I use the same apple id. What should I have done to share the apps and should I have been charged? 2 months ago when I got a new iphone, i was told in order to get all my apps back as I hadn't backed up my files, if I used the same apple id I would 'purchase' the app, but then would not be charged as apple would recognise that I have already purchased the app. That worked, but when I did the same thing on my ipad 2 using the same apple Id, I was charged... what should I have done and is this right as I thought the whole point of having multiple apple devices was I could share apps between devices. please help! thanks.
Using the same Apple id and Password you should be able to download purchased apps without being charged again.
I download to an iPad/iPad2/iPhone3 & iPhone4 with no problem. -
please help me!!!! my macbook pro 15 running on mountain lion is hanging a lot...sometimes when i use any app than it get freeze for some seconds...what should i do?
Hardware Information:
MacBook Pro - model: MacBookPro8,2
1 2.2 GHz Intel Core i7 CPU: 4 cores
4 GB RAM
System Software:
OS X 10.8.2 (12C60) - Uptime: 0 days 1:17
Disk Information:
TOSHIBA MK5065GSXF disk0 : (500.11 GB)
disk0s1 (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) /: 499.25 GB (424.92 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
HL-DT-ST DVDRW GS31N
USB Information:
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. FaceTime HD Camera (Built-in)
Apple Computer, Inc. IR Receiver
FireWire Information:
Kernel Extensions:
Problem System Launch Daemons:
[failed] com.apple.coresymbolicationd.plist
Problem System Launch Agents:
[failed] com.apple.afpstat.plist
[failed] com.apple.AirPlayUIAgent.plist
[failed] com.apple.coreservices.appleid.authentication.plist
[failed] com.apple.rcd.plist
Launch Daemons:
[loaded] com.adobe.fpsaud.plist
[loaded] com.adobe.SwitchBoard.plist
[loaded] com.google.keystone.daemon.plist
[loaded] com.microsoft.office.licensing.helper.plist
Launch Agents:
[loaded] com.adobe.CS5ServiceManager.plist
[loaded] com.google.keystone.agent.plist
User Launch Agents:
[loaded] com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist
[loaded] com.facebook.videochat.Akshay.plist
[loaded] com.microsoft.LaunchAgent.SyncServicesAgent.plist
User Login Items:
Sony Ericsson Bridge Helper
BitTorrent
uTorrent
3rd Party Preference Panes:
Flash Player
Java
Internet Plug-ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
Flash Player.plugin
FlashPlayer-10.6.plugin
googletalkbrowserplugin.plugin
JavaAppletPlugin.plugin
npgtpo3dautoplugin.plugin
QuickTime Plugin.plugin
SharePointBrowserPlugin.plugin
User Internet Plug-ins:
Google Earth Web Plug-in.plugin
Picasa.plugin
Bad Fonts:
None
Top Processes:
14.6 % WindowServer
6.9 % coreaudiod
6.4 % uTorrent
1.9 % WebProcess
1.4 % iTunes
1.2 % EtreCheck
0.5 % fontd
0.2 % NotificationCenter
0.1 % Dock
0.0 % Microsoft -
I have 2 iphones on one itunes account. I just upgraded both to ios 8 and now the messages i receive come through to both phones when they used to be separated. What is going on here?
I noticed the same problem after upgrading a few iPhones to IOS 8, all use the same Apple ID. However, I now notice when I go into Message and instead of selecting a person from my contact list, I start typing their name which brings up a list of people, some of which are not in my contact list and are on one of the other iPhones. There's a circle/exclamation point next to the name which I click on, and one of the options is to "Remove from Recent". How did these names get from one phone to another and how do I remove all "recents"? They do not appear in my contact list. Anyone see this?
-
Numbers does not open with the main user after installing mountain lion. It works flawlessly when I use the second account on my mac. What got corrupted in the admin-account, something in the user-library? How can I fix it? I´m kinda desperate... (the same happens with the other iWork-Apps!)
Looking forward to hearing from somebody with a littlemore expertise than me, Chrisyou can remove preferences files by navigating to the Preferences folder for your user as follows:
0) Quit ALL iWork apps (Keynote, Pages and Numbers)
1) from the Finder select the menu item "Go > Go To Folder…". This will bring up a dialog:
2) enter the path "~/Library/Preferences" (no double quotes)
3) find the files:
com.apple.iWork.Keynote.plist
com.apple.iWork.Numbers.plist
com.apple.iWork.Pages.plist
and move these to the trash. I would NOT empty until later.
4) restart Numbers -
I guess I put all info at top, sorry. Websites are displaying strange. When I use firefox they come up normal. Do I have flashback virus? what do I do to correct problem.
Thank you both for responding . After my posting I kept digging, I now know I don't have flashback. But, as to the strange part the pdf will show. Before problem that started about 2 weeks ago. The content was spread across the web page now it's all to the left going straight down. Also each action I get a slow script message and action is only completed when I hit cancel.
file:///Users/daniellacevedojr/Desktop/What%20is%20eMusic.pdf
I hope this gives you more insight.
Thank you for your attention. -
When I try to, the person on the other side can't hear me, and all I can hear are noises. But when I use apps like Viber or Facetime, I can make calls just fine! What may be the problem?
Did you fix the problem? I have the same problem and it has been pain in the neck.
Maybe you are looking for
-
"The message could not be moved to Trash
When I try to delete messages I get message "The message could not be moved to Trash" Any way to resolve this? Thanks Ken
-
Hi I have a table Employee having 3 columns "Name", "Date", "Salary" I need to group by with week and required output should be Name Week Salary a1 1-7 June 10000 a2 8-15 June 20000 a2
-
Last week for the first time in ever having zero problems with Firefox for years all I had was a black screen. I've uninstalled and reinstalled several times, searched for hours for solutions, I feel like I've tried them all to no avail. Almost every
-
Cisco Speech Connect Network Fault Tolerance
Hi, I have redundant core network infrastructure. Is there any way to do Network Fault Tolerance in cisco speech connect like the one in Cisco CallManager (5.x and later)? Thanks, Ashraf
-
Time Machine can't create backup on Synology NAS DiskStation (Error 17)
My first time trying to use Time Machine. Configuration iMac: OS X vers. 10.7.3, 2.5 GHz, 4 GB Memory, 500 GB Disk Destination of Backup: Synology NAS DiskStation DS212j, Mac File Service for Time Machine activated, user for Time Machine created Log