Interesting Java Questions. Need answers Pls

Hi All,
I have come accross few java question, could any one please provide best answers please?
1. Why the wait() method is there in the Object class? Not in the Threads?
2. Why JDBC has all interfaces & not classes?
3. Which type of collection do u prefer to make the incoming objects in sort order?
4. Why the hasCode() method should be implemented if we are overiding the equals(0 method?
Please provide me best answers ASAP.
Girish.K

do u prefer tohttp://www.catb.org/~esr/faqs/smart-questions.html#writewell
How To Ask Questions The Smart Way
Eric Steven Raymond
Rick Moen
Write in clear, grammatical, correctly-spelled language
We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal - in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

Similar Messages

  • Some General questions - Need answers very soon...Pls help

    Hello Gurus,
    I have following questions. Could you please answer those if possible? I really need to know soon. I am BO developer but not working on Admin side and need to clarify some questions below.
    1 )What is a domain? How many are there in a basic set up? What are they?
    2) When is the repository created?
    3) Can we have multiple domains? If yes, what is the purpose of having them?
    4) How do you create a user?
    Thanks.

    Hello,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • Questions -need answer

    Hi,
    Here are some of the questions i would like to know answers, need your answers.
    How do u identify  the problematic sql statements
    What is the process followed to tune sql statements
    What is explain plan
    What do u look for in explain plan
    I have 20 lines of code in plsql block, I got exception at 9 line,but still I want to continue from 10th line. How to achieve this
    How do u move your code from development to production
    What tools do u use to move your code from development to production
    Thanks...

    Hi,
    1) AWR (Identifying High-Load SQL Statements)
    2) There are might be more process. Beginning with validation /cretion index, gather_stats, rewriting query, etcc. ending changing database parameters
    3) Plan how ORACLE will execute the query
    4) i couldn't exactly understand it ??? what do you mean?
    5) catching exception block.
    6) it is depended company political
    7) SVN, batch file, copy/paste, etc. look "6"
    Ramin Hashimzade

  • Numbers question need answer asap

    I am in need of a solution that will take a running total and post that total to another spread sheet.
    Such as a running total on a check book. The last line in that column i want to automatically have it posted in the second spreadsheet, but since it will always be another block once something is either credited or debited it makes it impossible for me to think of a way to take that last value and post it since that value will only last a moment. Does anyone understand my dilemma. Please help.

    Hello
    Easy responce:
    at this time we can't exchange values between spreadsheets.
    The only available soluce would be to replace the second spreadsheet by a complementary sheet in the main spreadsheet.
    Of course, if you are really interested by the described feature, it would be a good idea to
    *go to "Provide Numbers Feedback" in the "Numbers" menu*, describe what you wish.
    Then, cross your fingers, and wait for iWork'09
    Yvan KOENIG (from FRANCE lundi 31 décembre 2007 18:27:27)

  • Upgrading from 10.4.11 to Snow Leopard - Questions needing answers..

    Hello,
    I am currently running Tiger, 10.4.11 on my MacBook and want to get it up to current Snow Leopard. My laptop is about 4 years old now and need to know if I can upgrade it.
    Secondly I tried to install it with the Leopard system software I received with with my Mac Pro and when I started the install it hang for about 30 seconds and then I got an error message to inform me I could not install that version of OSX on my computer. Did this happen because I was trying to install it with a disc that came with another mac or simply it isn't possible to upgrade anymore? I would be surprised if the laptop is no longer upgradable. Is the problem memory?
    Do I need to buy the Leopard software and will it work.
    Look forward your replies.
    Cheers
    Sophia

    Did this happen because I was trying to install it with a disc that came with another mac
    Yes.
    Do I need to buy the Leopard software and will it work.
    Check the OS's system requirements prior to purchasing it.
    (57357)

  • Authorization question - Need Answers - Please help

    Hi,
    I have collected the following questions. Can you please answer? Thanks.
    1)     What is Authorization object
    a.     Collection of Authorization fields
    b.     Authorization fields fill with Values
    c.     Group of Authorization Key.
    d.     Authorization object fill with Values.
    2)     Which of the statement below accurately describe when S_RS_ADWMB  will be used.
    a.     when using transaction code RSA1, the administrator work bench
    b.     when creating new query in the Bex Analyser.
    c.     When updating source system in RSA1
    d.     None of the above.
    3)     which of the following objects protect ODS data.
    a.     S_RS_ODSO
    b.     S_RS_ODSP
    c.     S_RS_ODSS
    d.     S_RS_ODSA
    4)     When would you use the $ in an authorization value?
    a.     If you are using user exit to fill the authorization values at runtime.
    b.     If you have cost centres that starts with $
    c.     Anytime you want to grant all values: $ is just like * in the SAP R/3
    d.     If you want all variables to be filled with authorization values at runtime.
    5)     Hierarchies are used in SAP BW to rank Employees.
    a.     True
    b.     False
    6)     RFC destinations tell SAP systems where external systems are located.
    a.     True
    b.     False
    7)     Which are the following objects are used for infosource with flexible updating
    a.     S_RS_ISOUR
    b.     S_RS_ISRCM
    c.     S_RS_ISOCR
    d.     S_RS_ISCOM
    8)     Which of the following regarding Info area is correct
    a.     Group of Infocube.
    b.     Group of Infosource
    c.     Group of source system
    d.     Group of actual data.
    9)     Field S_RS_COMP can protect the query elements by infoarea,infocube and query name that user is trying to access.
    a.     True
    b.      False
    10 ) Authorization object S_RS_HIER is used when creating infocubes.
    a.     True
    b.     False
    11)If the info object is authorization relevant then it must have authorization object.
    c.     True
    d.     False
    12) What is composite role.
    a.     Includes number of roles
    b.     Single role including number of authorization keys\
    c.     Role within a role
    d.     None of the above.
    13) EP uses same role for portal access.
    a.     True
    b.     False
    14) You must include S_RFC in any role used by reporting user.
    a.     True
    b.      False
    15)     Same BW role can be used for another BW system using the same client.
    a.     True
    b.      False
    Advance Thanks,

    Can anyone please help me urgently?
    Advance Thanks.

  • 2 questions needing answered (plz help)

    My first question is this...
    In LE8 can you take a drum pattern you made in the arrange window and make it into a audio file so u can cut up and audio wavs?
    my second question is this.. my built in microphone broke on my laptop, can i get a USB microphone and plug it in and use in Logic? If it's possible i would know how to set it all up myself, but i am just wondering if u can
    thanks
    http://www.myspace.com/sibeatz07 (check out my newly mixed song Free Love)

    Hi,
    to use the USB Mic, be warned Logic can only use one Audio Device at a time, so if you use the USB Mic as Device, Logic will find no outputs. <G> You can work around this FRRREEEEEQUEENTLY asked question by establishing an aggregate device. Just to have you warned before The Aggregate Device must contain the USB Mic as input and your speakers (maybe the built in speakers of your mac) as output.
    However, i would not recommend an USB Mic. Buy a decent 150$ Audio Interface and a 100$ SM58 instead, and you'll be happy for a mac's lifetime.
    Cheers,
    Fox

  • Simple Question, need answer please!

    Hi,
    I've simply forgotten how to select part of a track in Garageband?
    I've imported a 4 minute track and need to select 30 seconds of it in the middle somewhere. I done it yesterday, it highlighted smaller yellow boxes along the top of the track but i cannot get it to show this time!
    Answer appreciated!

    Don't worry, I found it!

  • Quick Question Needing Answered

    I am currently rewiring REASON 4.0 into LE8..
    If any of you are familiar with Reason 4 you know that you have the ability to take 3 separate VST instruments and their sounds, and combine them as 1 by using the combinator..
    to do that... you would create a combinator, then a line 1 mixer.. then 1-6 VST instruments...
    Now apparently at this point all the instruments are connected as 1 (so 6 sounds combine to make 1)...
    My question is...how do i get it to where i have 1 track in Logic.. and it plays that (6 in 1 instrument) under 1 track?
    i hope you follow what i mean
    thank you for your time

    I'd suggest the following technique:
    - create your combinator patch in Reason, then save it into the file, let's say "ReWire 1.rns"
    - close Reason
    - start Logic, create new project, create new Aux track in Mixer screen (go to Mixer -> Options -> Create New Auxiliary Channel Strips -> make sure the new Aux channel is stereo)
    - open Reason and load "ReWire 1.rns" file
    - in Logic go to Mixer and select Reason -> RW:L/R in the Input slot (first one below 'I/O') of the Aux channel strip you created
    - adjust the volume fader of the Aux channel so that you can hear what is being played back from Reason
    Note: in ReWire mode Reason works as slave and can be controlled by Logic's transport controls; Logic apparently reads tempo settings from the Reason song and automatically adjusts its tempo (which is sweet!)

  • Some int questions;; need answers

    what is the difference between BI and BW?
    what type of scheduler u have used in loading data?
    wat tool u r using for client support (to resolve queries)?
    what type of errors u come accross in support? example one real instance
    please provide answers
    bw job seeker

    Ramakrishna,
    Check the below...
    what is the difference between BI and BW?
    BW is called as BI in Netweaver 2004 and 2004's..
    what type of scheduler u have used in loading data?
    The ques is not clear...
    wat tool u r using for client support (to resolve queries)?
    There are CRM tools like Vantiff, remedy used for client support.
    what type of errors u come accross in support? example one real instance
    Error while activating data in ODS object....

  • Copy FLASH to USBFLASH0...Simple Question need answered

    I would like to copy all folder/files from flash to usbflash.  When I receive a new router to configure, I would like to use my usb-stick to copy everything from flash, including that ccpexp folder with many sub-folders, to my usb.  Can someone assist with how to perform or options?

    Ah...I tried that several times with nno luck.  This should be an easy thing to due.  I know someone will tell me to use ftp or tftp but I really don't think I have to if the router has a usb port.  Doing files individualy will work, but if a router has many files in flash then a simple COPY command should be enough.  Am I missing something?

  • Silly Question needs answering asap!!!

    How do i make bootable back up of my Mac HD, i want install 10.4.6 but been hearing of so much problems i wanna make back up first.
    Also once i've made this back up how do i get it to run as main Mac HD if i have problems with original HD, would be most thankful for any help, Karl...

    Use Carbon Copy Cloner [I think there's another one called Super Duper too] and clone your HD to an external Firewire HD.
    RK

  • OnSync question need answer plz help

    Do I have to specify a remote shared object in the onsync
    event of my main application ? What are the consequences of not
    setting the object in the main applications onSync events?
    Because i have a remote shared object that works properly as
    long as i don't specify it in the onsync event of the main
    application........the object is being set as SO.data.slot0 =
    SO.data.slot0*1 +1; in the main application
    The initial value of SO.data.slot0 is being set outside the
    main application in an admin console to the value of 1.

    the reason it was causing problems is because i was
    incrementing the number so it continued to fire ..........this is
    the code for the problem [code] SO.data.slot0 = SO.data.slot0++;
    [/code]
    I'm not 100% positive why this caused onsync to fire
    continueously but when i removed it the onsync function was normal
    and the app continued to work perfectly so i thought i would ask an
    expert if there is any light you feel that is important to shed on
    this subject plz feel free to add your 2 cents.

  • IPod classic question, need answer

    I noticed this, when ever I play a album on my 80GB iPod classic when it's done it goes back to the track list. Does this happen to anyone else?

    Hi, can anyone help before I throw my new Ipod Classic in the bin please ?
    I have uploaded all my music ok but when I connect my Ipod, I get a 1/2 page request to agree to sofware licence. I click to agree but can't go forward as the "next" or "continue is on the other 1/2 of the page which I can't see.
    How do I reduce it to get to the instruction ?
    tia,
    John

  • Pls send Some good question and answer related to FI

    Hi Gurus,
    Pls. send some <b>good question and answer</b> .i need urgently.
    Pls help me.
    regds
    Mahesh K Singh

    Hello
    Sent.
    Material collected from the following link
    http://www.sap-basis-abap.com/sapfi.htm
    Reg
    *assign points if useful

Maybe you are looking for

  • Not enough bandwidth to maintain connection

    Okay here is my problem- I'm a college student living in an off campus type of dorm sharing an internet connection with many other people. My sister and I have tried to have video chat's using ichat. We both have macbooks however it seems like each t

  • Numeric value  (5-7) should return 2

    Hello. I've programmed in other language and there I could use: abs(5-7) if I want it to return 2 here and not -2. how can I do this in java? Regards

  • 10.5.7 won't install

    I'm having a 'mare of a time trying to upgrade to 10.5.7 right now. First of all I tried to update from 10.5.6 via Software Update which seemed to be going well until right at the last moment it told me something like "operating system could not be u

  • Facing error while invoice creation in AR.

    Facing error while invoice creation in AR as Please complete your tax accounting flexfield. We are creating invoice through API. Regards Sridhar

  • TS1369 i get a red x with a red circle around it when i start up my ipod

    I get a red x with a circle around it when I start it up