Want to find out parent class of a class without using getSuperClass
hi,
I am trying to write a code to find out the base class /interfaces of a class by its object and i dont want to use getSuperClass,getInterfaces methods.
Below is a snippet i tried but it does not work:
public class Test extends Parent{
public void disp(){
System.out.println(super.getClass().getName());
public static void main(String args[]){
Test test = new Test();
test.disp2();
this outputs the child class only does not output the parent class.
Is there any method to do so?
Thanks,
Anirudh
Ok, If it can not be done then i must not ask.
So you have answered it that it is not possible without these.Thats what i wanted to know.
Should have framed the question like is it possible?and if possible how?
Thanks
Anirudh
Similar Messages
-
How to find out the list of patches applied without using inventory?
Hi,
I have been asked this question once.
How will you find out the list of patches applied to Oracle Database Home without using commands like opatch lsinventory -detal etc...
I think registry$history is a view from where we can find out the list of patches applied.
But I think it will not include all the bug fixes,stand alone or one-off patches.It will mainly list out the CPU patches applied(correct me if I am wrong).
Thanks,
RushiHi;
Thanks Helios,
Your welcome
Could you tell me how do you all senior people manage to find metalink note for almost everything?There is nothing special, For me I just make more search at metalink than googling so after sometimes you started to notice which note could be related wiht issues more clearly.. Just keep searching at metalink and focus what you are searching only.. ;)
If you could guide me I can do it my self and stop bothering you for some silly doubts.You dont bother me and also I belive the other forum users ;) We are also learning new information wiht user questions ;)
Regard
Helios -
I'm trying to create a new apple-id but when typing the email adress I want to use I'm told that the particular email adress is not allowed When searching I can't find same being used anywhere. How do I find out where that particular email adress is used so I can delete it there and use it for my new apple-id?
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Also
If you have Find My iPhone enabled, you can use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased. -
I got a text message which had a link attached to it, i did click on the link, basically some job scam but on the link. Now i just want to find out if my phone has been compromised in anyway and what are the tell tell signs.
your phone has not been compromised. There have been no viruses, worms or trojan horses ever reported.
-
I have a very old G4 that I use for ProTools. I just bought a slightly newer G4 and I want to find out if it is possible to transfer my old OS 10.2.8 system from one computer to the other so I can run my old ProTools system without a hitch. I would rather not buy the old 10.2.8 system as it is expensive. Thanks!
Need to know which newer one, some cannot run 10.2.x.
One solution might be to clone the 10.2.8 Drive to another drive, then Install a later OS on it Preserving Users & Settings.
Best way to get an exact bootable copy of your old drive to the new one is with Carbon Copy Cloner...
http://www.bombich.com/software/ccc.html
Relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...
http://docs.info.apple.com/article.html?artnum=107120
Just be sure to select Preserve Users & Settings. -
I am making a graduation video for my cousin using Final Cut Pro. I have photos layered over videos, and I was wanted to find out how you can add a border around the photos so they stand off of the video. Anyone know what I could do?
You would need an image editor to edit the images and add a border to the image first before importing them into Final Cut.
Cheapest and very good image editor?
PIxelmator.
Located in the Mac App Store. $14.99 USD.
Here is the Pixelmator website to give you an overview of the app.
http://www.pixelmator.com/
Good Luck! -
Wants to find out customise function module in SAP
Hi all There,
I want to find out Customize Function Module in SAP,
I am not able to find out though SE03.
Pl provide the detail solution
Regards
Sagarhi,
Custom function module start with Z or Y.So go to table TFDIR and enter z* and y* on input screen field function module name and then check number on entries by pressing tab number of entries on application toolbar.
So number of custom function module = z(number of entries) + y(Number of entries) .
Thanks
Mohit -
I want to find out how much space on my macbook pro hard drive is from iphoto pics
i have a macbook pro (2008) w/186 g hard drive, w/OS 10.5.8. I want to find out how much (% or # of gigabytes) of the hard drive is pics from iPhoto. does it sort by type (e.g., apps) ?
Click on Pictures in the Finder’s sidebar, select the iPhoto library, and choose Get Info from the File menu. If you’re using multiple libraries, you’ll need to do this on each one.
(108944) -
How do I determine who is calling me. An unknown phone number is calling me late at night? I want to find out who it is.
Yes, yes, yes. I am well aware about your line of Verizon is "THE Phone Company". Unfortunately, everyone was not subscribed to "THE Phone Company" back before "THE Phone Company" was broken up. Some people have lines which were not in existence and have never been subscribers to "THE Phone Company". There are new area codes and numbers since "THE Phone Company" was broken up. I was unaware Straight Talk, T-Mobile, Sprint, Time Warner Cable, MagicJack, etc... automatically provide ALL of the private information of their subscribers to "THE Phone Company" simply so these other companies can exist. I was unaware "THE Phone Company" required each and every phone provider in the US to gather information for the USER of a phone when that USER was not the account owner. I don't remember giving my 15 year old daughter's information to "THE Phone Company" when I opened up her line 5 years ago. Obviously I did, since "THE Phone Company" has it as you would lead us to believe. I wasn't aware "THE Phone Company" required someone opening an account with 10 lines to provide the private user information for each and every one of those lines. When I opened up my 4 line account, I only remember giving out MY information. I don't remember validating everyone on the account was related to me. I don't remember giving out the names/DOB/SS #/etc... for everyone using the phones on my account. That information must have simply slipped my mind.
For what it is worth, I never said they didn't have information on "every single number coming and going" thru their system. That is not the information being requested, though. The OP wants to know the name of the person making the call. If Verizon, aka "THE Phone Company" does not gather information on all users of a 10 line More Everything account from the account owner, where exactly are they getting this information. Furthermore, if they don't even gather this information of their own subscribers, why would you expect they have this information on the subscribers to other phone providers? It is not required to open a 10 line account. They do not run credit checks on all the users. They do not require SS#s on all of the users. They only require this information on the account owner. Are they staking out the account owner and following him/her to determine who is using the phones on his/her account? I guess I am simply too trusting.
You speak of "back in the way old days". Well these are no longer the "way old days". Lines on an account can be scattered all over the US. The users of these phones aren't necessarily and more often every day not even related. "THE Phone Company" doesn't necessarily and is UNLIKELY to know the identity of the majority of people using phones on an account. The account owner, yes. Everyone else, NO. People making a call are just as likely using an area code/phone number of a location they don't even physically reside. "Back in the way old days" this was much less commonplace.
Yes, they MAY be able to get the name of a caller, but it would take time and COULD take a considerable amount of time depending on the cooperation of the account owner. -
Where is the bookmarks stored?
I Install the Firefox once again since I upgrade my computer.
And I try to move the bookmarks from the old computer to the new one.
But I can't find anyone of them.
Is there any folder just like "favourite" to store the html file?
I really want to find out the bookmarks because actually i can't remember all the website that are important to me~ URGENT!!!~THANKS~You can move file named places.sqlite from your old profile to the new one. It contains bookmarks and browsing history.
Here's a knowledge base article about it: [[Recovering important data from an old profile]]
If you don't care about saving your current bookmarks, you can skip creating new profile (Firefox does it by itself at first run anyway).
I'd might suggest you to install addon https://addons.mozilla.org/en-US/firefox/addon/2410/|Xmarks Bookmark and Password Sync]. It is a free web service which synchronizes bookmarks and (optionally) passwords with central server, and then to other computers, if you installed it on more. You may treat is as a backup too. -
I want to find out the RFC or bapi that log on the SAP? is anybody know?
i want to find out the RFC or bapi that log on the SAP?
Hi,
for BAPI's
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sappoint.com/abap/bapiprg.pdf
http://www.sappoint.com/abap/bapiactx.pdf
http://www.sappoint.com/abap/bapilst.pdf
http://www.sappoint.com/abap/bapiexer.pdf
http://service.sap.com/ale
http://service.sap.com/bapi
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
http://www.planetsap.com/Bapi_main_page.htm
http://www.topxml.com/sap/sap_idoc_xml.asp
http://www.sapdevelopment.co.uk/
http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
***do reward if usefull
vijay -
Hi Just wanted to find out how to send email? can receive just fine but cant send. Using hotmail at the moment.
Any help would be great
Thanksgo to your mail providers setup guide and compare every single setting to how your smtp setup in your settings are set
and if they are not the same change yours to match their page
and if they are the same contact your isp to inquire as to why they are blocking the ports your mail provider are using -
i want to find out how to retrieve the serial number for my product. i can't find it in my email
Find your serial number quickly
-
I want to buy an ipad2 3g in the USA and wanted to find out if the 3g will work with a South African sim card or is it locked to a US service provider.
Make sure you get the GSM (AT&T) model, not the Verizon model.
By the way, this forum is for the iPod touch, not the iPad.
Regards. -
How to find out which type of the driver is used in our application?
Hi all,
can anyone tell me how to find out which type of the driver is used in our application?
Thanks in advance,
PhoenioxHi,
Check out this...
Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
List drivers = Collections.list(DriverManager.getDrivers());
for(int i=0;i<drivers.size();i++)
Driver driver = (Driver)drivers.get(i);
String driverName = driver.getClass().getName();
System.out.println("Driver "+i+":::"+driverName);
you need to load the driver and display in the same program.
Then only you'l get the required result.
prakhyath
Maybe you are looking for
-
Not able to save excel or word file
Not able to save word or excel....the error say this is not a valid file name..
-
Re: How do get readers to add data within the app?
Is this possible
-
I have updated my iphone 4s with ios6 and now im not able to connect to itunes store. I can open the apps store but cannot install any app? Anyone facing the same issue..
-
Having issues with export of a table
Hi All, We have a very large table which we want the output as .txt or .csv.How should we use loadercli.Thanks.
-
Mail not delivering to new user account
Hi, Whilst troubleshooting what seemed like a user account problem, we created a new user account to replace the old user account. The new user account has a new shortname in WM. The old user account was deleted in WM. The new user account has the OL