What is the need for calling default constructor by JVM?

What is the need for calling default constructor by JVM? why the JVM should intiializes default values to the data
fields if the constructor is not there in our class?

mahar wrote:
What is the need for calling default constructor by JVM? Huh? The JVM does not need to call the default constructor. It needs to call a constructor.
You decide which one by the way you use "new".
why the JVM should initialize default values to the data fieldsHuh?
... if the constructor is not there in our class?Huh? The default constructor is always there. It may be private but it is still there.

Similar Messages

  • What is the need for setting property data inside the JMSMesage

    Hi
    Could anybody please let me know
    *What is the need for setting property data inside the JMSMesage??
    For example i have a seen a similar example as shown ??
    I have seen a
    Message.setStringProperty("Sport","Basketball");
    and also please tell me how can the MDB recievies this property data ??
    Thanks in advance .

    raviprivate wrote:
    Could anybody please let me know
    *What is the need for setting property data inside the JMSMesage??
    For example i have a seen a similar example as shown ??
    I have seen a
    Message.setStringProperty("Sport","Basketball"); Look at the detail JMS documentation on [Message Properties|http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Message.html] .
    >
    and also please tell me how can the MDB recievies this property data ?? MDB onMessage method argument is the Message object and if you look at the documentation, Message interface has getter methods to retrieve the properties.

  • HT1222 Since I'm an American, what's the need for me to update?

    Since I'm an American, what's the need for me to update?
    How does the new update apply to me?

    What update are you referring to? If you mean iOS 6.1.3, there are a number of security updates that apply to all iOS devices:
    http://support.apple.com/kb/HT5704
    If that's not what you mean, please explain further.
    Regards.

  • What is the Need for communication between Flex ActionScript to Javascript

    Hi ,
    Flex has made it communication possible from FLEX Mx:script to Java Script .
    Can anybody could please tell me what is the need or any scenario  for communication Flex with Javascript
    Thanks in advance .

    1- Printing in Flex is terrible (although for simpler requirements it can do fine), true, but it's not incredibly better elsewhere in the browser unless I'm missing the point.  This can be gotten around for many by streaming PDFs or Excel spreadsheets from a server, though.
    2- If it has to be web, I guess you're stuck.  If it can be an installed app (AIR) I'd prefer to hook into Java.  Like I said, there may be some limited specific uses, but good reasons to base the majority of your app on JS hacks are hard to come by.

  • What is the syntax for calling function from class file by jsp

    does anyone here knows what is the syntax of how to call a function from java class file by javascript code or any way to call it?
    and where should i put the calling function code? because the function is called depend on the user click.
    for example
    <%=pc.functionName(a,b)%>
    for the variable a and b, how can i get the value from html textbox and put it in a and b...
    urgent needed...
    thx

    Jsp's are executed before the Html forms are created and loaded. Dont try to use a java code function calling on a javascript click. You'll have to explicitly redirect it into a servlet where in you can call the function you want.
    Well! another way could be using AJAX. That seems to be powerfull enough and it might also serve your purpose.
    Hope this helps

  • What is the need for static block?

    this was my interview question..
    what is the scenario where u need a static block?

    SO
    public static String foo = "FOO";
    and
    static
    public String foo="FOO";
    both are static blocks?I don't know what the JLS says about that term. The second one is usually called a static initializer. I wouldn't consider the first one a block, but the JLS may say differently.
    What is the difference between both?They're not quite the same.
    public static String foo = "FOO";
    // is equivalent to
    public static String foo;
    static {
      foo = Foo;
    }Note that the variable must be declared outside the block to be a class member variable.
    Now, consider the following, for which the static initializer block is necessary:
    static ComplexThingummy ct;
    static {
      try {
        ct = new ComplexThingrummy();
        ct.initializeSomethingSomehow();
      catch (CTCheckedException exc) {
        throw new ExceptionInInitializerError(exc);
        // OR
        ct = someDefaultPreInitializedComplexThingummy;
    }

  • What is the need for movement type 107

    Hi Gurus,
    In ECC 6.0 i have seen that SAP has introduced 107 for GR Block stock (valuated). Can anyone tell me the business sense for doing so.
    What was the exact need for introducing 107
    Rgds
    Venkat

    Hi,
    GR Blocked valuatedstock menas , when you do the GR with movement type 107 it  will posted under Plant and the value of the goods will be considerd/increased for that Plant. But the stock will be under Blocked Stock..It will not be used all other purpose till you do the transfer psting from Blocked to unresticted.
    Thanks,
    Kumar Arcot

  • What is the procedure for calling three screens in order?

    Hi friends,
                  Can anyone solve my problem of knowing how to call three screens.
    In one screen i will be give say emp-id and password
    it has to go to next screen have 2 radiobuttons functional and technical after selecting it has to go next screen where employee name timein and timeout will be there where i have to store employee name and timein and out in a table please its urgent can any one help with this. Creation of screens are perfect but only calling the screens in order and storing the data in a table is my problem.
    Solutions will be surely rewarded.

    hi,
    screens can be called by any one of the following methods:
    1.using a t-code
    2.from abap program
    if ur calling it from abap program, make use of CALL SCREEN
    syntax:
    CALL SCREEN <dynnr>.
    statement to call a screen and its subsequent sequence within that program. The flow logic of each screen calls dialog modules in the program that called the screen.
    When the screen sequence ends, control returns to the statement after the original CALL SCREEN statement.
    To termintate the screen sequence, use  LEAVE TO SCREEN.
    These statements exit the current screen and call the defined next screen. If the next screen is screen 0, the entire screen sequence concludes.
    please rewards points if useful.
    regards
    sandhya

  • What is the price for calling 0345 numbers

    Could anyone advise what the price is for dialling 0345 numbers, is it the same rate as 01 and 02 geographic numbers

    Just call Apple and ask them - they do not have a publicly listed parts price list, nor one for labor costs.
    You can check used display prices at places like www.ifixit.com.
    P.S. if you take the machine into an Apple store, they will provide a free diagnosis of all damage and a free repair price estimate before you need commit to anything.

  • What is the need  for TMG?

    Hi, iam new to ABAP......

    HI..
    We can use table maintenance for making the creation,deletion,changing the entries easily.
    We can even make use of the validations required for some fields thro' table maintenance,while creating the entry.
    If some fields need to be populated automatically while creating an record in a database,we can make use of table maintenance for this purpose.
    When the extended table maintenance is called, a work area is fetched from the database into an internal buffer for processing on the screen. Either all entries in the database are fetched into the work area, or the selection can be restricted in a view definition or in the calling program.
    Field contents are maintained in an internal buffer, so the database is not automatically accessed after each individual record has been maintaIned. Changes made are only copied from the internal buffer to the database when save is chosen. This buffering gives the maintenance procedure a transaction orientation. This gives you the possibility of discarding changes before the database access (user-controlled "rollback") and allows consistency checks for all changed data, before it is written to the database.
    FOR MORE DETAILS ON TABLE MAINTENANCE VISIT:
    refer.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    Re: Table Maintenance Generator
    http://help.sap.com/saphelp_erp2005/helpdata/en/69/c251474ba111d189750000e8322d00/frameset.htm
    <b>Reward points</b>
    Regards

  • What's the need for capitalization date and 1st acq. posting date?

    hi guys,
    i was wondering what the system would do with capitalization date and first acquisition posting date ??
    and what will be the problem if i entered an asset value date (in the acquisition transaction) that's earlier than the capitalization date entered in the asset master record ?!

    In practice all assets are not put to use right from the date of purchase.Hence the concept of different dates arises.  One being the acquisition date and the other Capitalization date.
    I would buy an asset today but start using it from a later date.  Depreciation has to be calculated from the date of capitalization and not acquisition. But still for record purpose date of purchase would be important.  Hence both the dates are maintained.
    Hope this has clarified your doubts.
    Thanks
    GU

  • What is the url for calling a webservice which takes boolean input

    Hi
    Can anyone help me out to know how to call a webservice which takes boolean as input? Here my webservice is developed in Java.
    Regards

    I'm not sure what your context is, but you can test out your new Web Service by using soapui (www.soapui.org). Assuming your using a literal format, the encoding information will not be required in the XML elements. Therefore your message could be:
    <element>true</element>

  • What is the need for planning table.

    can anybody explain me about planning table, how and where to use that..

    Dear
    Use of planning table :
    1.Capacity Requirement Planning in Discrete and PP-PI indistutry
    2.For demanad management , you can create PIR and also generate MTS production order based on planned order for those PIR
    3.Decision making on CRP in planning table for operation dispatch , work centre , scheduling , detail scheduling , time , dates of capacity avalution is possible through Planning table under particular overall profile .
    refer : Use of Planning Table (MF50) in Capacity Levelling with Production Order
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPCRPPPPI/PPCRP_PPPI.pdf
    Regards
    JH

  • What are the settings for the "Default Client Settings"?

    What are the settings for the "Default Client Settings"? I changed them instead of creating a new policy and would like to fix that.
    Thanks
    James A+, Network+, MCP

    Hi,
    The blogs below provides the default client settings.
    Default Client Settings in SCCM 2012 SP1
    http://prajwaldesai.com/default-client-settings-sccm-2012-sp1-sccm-2012-sp1/
    Note: Microsoft provides third-party contact information to help you find technical
    support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Best Regards,
    Joyce

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

Maybe you are looking for

  • HP Laptop battery doesn't give even 5 min of backup.

    Hi, My HP Laptop with Core 2 Duo has a problem. The battery doesn't seem to give any back up at all. so i need to keep the power cord on, whenever i use the laptop. The guarantee period is over and i do not know how much the battery is gonna cost. Pl

  • I am not able to verify my MAC HD Volume.

    Mac keeps powering down on startup.  I am able to get to the Lion Recovery and verify the physical disk but I am not able to verify the volume "MAC HD"  I get errors.  The physical disk verify looks good.  Anyone have any ideas on what I can do?

  • Should I START a Career in SAP???

    Hi Guys... I am a seasoned professional with 1 year Exp in Automobile as a Dealer Development Executive and 5 years of Cross Functional Experience (from Campus Placements, Market Ops and Sales)  in Telecom. I wish to change my industry for better pro

  • How Do I Know My SSD Is Properly Installed??

    Hi, I just received my Thinkpad T430, which came with 500GB Hard drive and 16GB SSD installed (and Windows 7 Pro 64-bit). I bought the 16GB SSD with the understanding that the laptop would be boting off of that drive (thus making it that much faster)

  • Generating RAR Alerts for just certain user groups

    Is there any way to limit a RAR Critical Actions Alert to just certain users?  Or, only if these users access certain data? We've had a request to monitor and send out a notification for some transactions, but only for certain users.  These transacti