Difference and advantages of java and c++

whats the best advantage of java over c++
also the basic difference between java and c++
what the difference between multithreading, multitasking and multiprocessing
what if there r 2 main methods in 1 java program with different signature
difference between method overloading and method overriding

whats the best advantage of java over c++Java is simpler.
also the basic difference between java and c++Java is easyly portable. It has a GUI (Swing), multi-tasking and garbage collection as standard.
what the difference between multithreading,
multitasking and multiprocessingMultithreading is mostly used at the language level to mean many threads of execution. Multitasking is mostly used at the OS level to mean many processes (program units) runing at the same time. That should cover multiprocessing too but here processing can also be used in a broader sense at the application level to mean any "process" you can think of.
what if there r 2 main methods in 1 java program with
different signatureYou'll have to specify which one you want executed I guess. Try it out!
difference between method overloading and method
overridingOverloading is a convinience facility. It allows you to let methods in a class have the same name as long as their signatures differ.
Overriding is when a method defined in a superclass is replaced with a new one with the exact same signature in a subclass.

Similar Messages

  • Difference between web dynpro java and web dynpro abap

    Hi this is watson maureen,
                 I wnat to know what is  the difference between web dynpro java and web dynpro abap?
    thank
    maureen

    Hi watson,
    Go through these links, you will get the difference between web dynpro java and web dynpro abap
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e4940c-035c-2b10-0b9d-eb8f99674f4e
    Web Dynpro: ABAP or Java?
    Regards
    Sreedhar.

  • An anyone help me to find the difference and relation between the following

    Hi,
    can anyone help me to find the difference and relation between the following methods of Swing :
    a) validate()
    b) invalidate()
    c) revalidate()
    d) repaint()

    You'd be far ahead by opening up the API and Java turorial and your course book and learning for yourself, rather than, asking other to do your homework for you.
    But if you have andwers already to go, then post them and ask if you have drawn appropriate conclusions.

  • Hello, we have both Creative Cloud and Creative Cloud for teams. Can you help me with the difference and if i need to have both?

    Hello, we have both Creative Cloud membership and Creative Cloud for team. Can you help me with the difference and if i need to have both? We have 9 employees that are using it. Just not sure if i'm paying for something i don't need.
    Thank you

    Please refer to Creative Cloud Help | Creative Cloud / Common Questions
    CC is for retail use with 20 GB of storage space, CCT is where number of seats are purchased & assigned by one program admin where each seat gets 100GB of storage space.
    You can not have both the CC & team in one account as it will only provide you added storage space of 120 GB but you can activate the CC any of them or either of them twice as CC is based on Adobe ID.
    Regards
    Rajshree

  • How to calculate difference and percentage in matrix report dynamic columns in SSRS 2008

    Hi Friends,
    I need to calculate Difference and Percentage In matrix report SSRS 2008
    1) Row grouping based On Product
    2) Column Grouping Week and Fiscal Year Current week  and Previous Year same Weeks 
    3)Data Invnetory(Value fileld)
    Example:
    If value1 and Value2 Available we need to calculate Percentage and Difference.Otherwise Not required NA I need to Show.
    For example If Particular week,Current year data is available,Previous year  week data is not available No
    need to cal Diff and Percentage we need to show Empty.
    Below Code is working for If two values is available.
    If any one of the fiscal year week data is not there it's taking some garbage values.
    I tries with If condition in GetPCT() and GetDiff() It's not working.
    Can some one please help me on this.
    I am using the custom code 
    Public Shared Value1 as String
    Public Shared Value2 as String
    Public Shared previous as string
    Public Shared previousweek as string
    Public Shared Function GetValue(Value as String,partner as String,Week as String) as String
    If partner =previous and Week =previousweek Then
    Value2=Value
    Else
    previous=partner
    previousweek=Week
    Value1=Value
    End If
    return Value
    End Function
    Public Shared Function GetDiff()
    return Value2-Value1
    End Function
    Public Shared Function GetPct()
    return (Value2-Value1)/Value1
    End Function
    How to handle this.
    Thank You, Manasa.V

    Hi veerapaneni,
    According to your description, if one of the fiscal year week doesn’t have data, the custom code returns false results.
    For your requirement, if NULL value exists in the database, we should replace it as zero then perform calculate. So within the code, we should judge whether the value is NULL. To achieve your goal, please refer to the steps below:
    1. Create a table like below.
    create table dif4
    ([Product Group] varchar(50),
    [Week] varchar(50),
    [Fiscalyearweek] varchar(50),
    value int
    insert into dif4 values
    ('Desktops','W01','FY14W01',0),
    ('Desktops','W01','FY15W01',45),
    ('Desktops','W02','FY14W02',null),
    ('Desktops','W02','FY15W02',30),
    ('Desktops','W03','FY14W03',12),
    ('Desktops','W03','FY15W03',50),
    ('Notebooks','W01','FY14W01',35),
    ('Notebooks','W01','FY15W01',56),
    ('Notebooks','W02','FY14W02',45),
    ('Notebooks','W02','FY15W02',87),
    ('Notebooks','W03','FY14W03',75),
    ('Notebooks','W03','FY15W03',105),
    ('Tablets','W01','FY14W01',34),
    ('Tablets','W01','FY15W01',46),
    ('Tablets','W02','FY14W02',49),
    ('Tablets','W02','FY15W02',96),
    ('Tablets','W03','FY14W03',42),
    ('Tablets','W03','FY15W03',113)
    2. Add the custom code in the Report Properties.
    Public Shared Value1 as Integer
    Public Shared Value2 as Integer
    Public Shared previous as string
    Public Shared previousweek as string
    Public Shared Function GetValue(Value as Integer,product as String,Week as String) as Integer
    If Value=Nothing Then
    Value=0
    End If
    If product =previous and Week =previousweek Then
    Value2=Value
    Else
    previous=product
    previousweek=Week
    Value1=Value
    End If
    return Value
    End Function
    Public Shared Function GetPct()
    If Value1=0 Then
    return 0
    Else
    return (Value2-Value1)/Value1
    End If
    End Function
    Public Shared Function GetDiff()
    return Value2-Value1
    End Function
    3. Design the matrix like below.
    4. Then get the expected results.<o:p></o:p>
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • What's the difference and purpose of Keywording and metadata such as title and caption etc?

    What's the difference and purpose of Keywording and metadata such as title and caption, crator, sublocation , label etc?  Where & how is the information used?  Where does it appear?

    Keywording is primarily for your own use for finding photos fast.
    Title, Caption, etc are also for your own use but can be used by your clients or your stock company if you do not <Minimize Embedded Metadata> on export. Keywords are also included on export but are hardly of any use to others - unless you follow a standard for keywording.
    You have the option of selecting title, caption, etc to appear in a Slide Show, on Print, or on a webpage created with LR.
    If you go to the LR Help menu and type "title", or "caption" in the search box you will find plenty of advice for this.
    WW

  • I want to make the switch from 5 iphone5 to pay the difference and how much?

    I want to make the switch from 5 iphone5 to pay the difference and how much??he's locked icloud already bought it so now I'm not using as too expensive and thought this possibility .... you guys can help me ... thank you for it helped

    Unfortunately there is little you can do, Lion will not run on your machine.
    However it is possible to access some features of iClould while staying with SL. If you go to iCloud you will see the web interface for the cloud.
    Some but not all functionality is here. Check it out and see if it meets your needs.

  • T450s and docking stations : don't understand differences and limitations

    Hi,
    As you may have seen in my previous posts, I leave my previous company and my good old X220. So I am really wondering if I upgrade or not to the new T450s, or if I search for a X220/X230/T420s/T430s refurbished.
    One of my main concern, is the total display size when docked. I used to use quad FHD screens on my old X220, and I was thinking about increasing again the total display size by replacing 2 FHD screen by 1 4K monitor. However, it seems impossible to run 1 4K and 2 FHD simultaneously.
    So my question is, Where can I find the differences and limitations of the docking stations available for the T450s regarding the display size ability ?
    On the product sheet of the docking stations , Lenovo said "* Some of the video ports have exclusive use and are also dependent on the docked ThinkPad configuration".
    Ok, but where can I have this information ?
    Many thanks for your answers,
    Lenovo X220 4287-CTO / Intel Core i7 2640M @ 2.8 / Corsair Vengeance 16 Go@1866 MHz CL10 / Samsung SSD 840 PRO 512 Go / Bios 1.38 / Linux Xubuntu 14.04LTS / eGPU ATI Radeon 5870 Eyefinity 6 / 2x DELL U2142M / 2x DELL U2212HM

    According to https://software.intel.com/en-us/articles/quick-reference-guide-to-intel-processor-graphics,
    For HD5500 on U processor : 
    Independent Digital Displays : Yes (at most, 3 displays may be supported at one time)
    Maximum Display Resolution : U-Processors: 3840 x 2160 @ 60 Hz
    So 4 displays won't be possible on T450s.
    So, I guess, you can run :
    1 4K display @ 60hz 
    OR
    something like 3 FHD/WUXGA displays
    If someone can confirm...
    Lenovo X220 4287-CTO / Intel Core i7 2640M @ 2.8 / Corsair Vengeance 16 Go@1866 MHz CL10 / Samsung SSD 840 PRO 512 Go / Bios 1.38 / Linux Xubuntu 14.04LTS / eGPU ATI Radeon 5870 Eyefinity 6 / 2x DELL U2142M / 2x DELL U2212HM

  • Difference and similarity between SAP XI and MQ?

    Hi All,
    Difference and similarity between SAP XI and MQ?
    Pleas send docs if anybody has.
    Regards

    May be both has 2 letters!! XI, MQ.
    On a serious note, you cant compare a middleware with a Queue.

  • ALSB 2.5 features and ALSB 2.6 features & differences and porting features

    ALSB 2.5 features and ALSB 2.6 features & differences and porting features?:8}

    Migration features for ALSB 2.6. and new features in 2.6 Please refer to the documentation:
    http://e-docs.bea.com/alsb/docs26/upgrade/
    http://e-docs/alsb/docs26/relnotes/relnotes.html#whatsnew
    Gregory Haardt
    ALSB Prg. Manager
    [email protected]

  • I exported a iphoto slideshow to desktop, converted it to mpg file by using BURN app, burned to DVD and exported to a USB flashdrive. The DVD looks great but flashdrive is extremely fuzzy. What is the difference and how can I make flashdrive sharper?

    I exported an iphoto slideshow to desktop, converted it to mpg file by using the BURN app, burned it to a DVD and exported it to a USB flash drive. The DVD looks great and very sharp but the slideshow on the USB flash drive is extremely fuzzy. What is the difference and how can I make the slideshow on the flash drive look as sharp as the DVD?

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  For iPhoto 9.4.3 and earlier select Size = Medium or Large. For iPhoto 9.5 and later selct 480p.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best quality video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailer like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago.
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them.
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.

  • Im debating whether i should get the 8GB or 32 GB itouch. There's a 100 dollar price difference, and I wanna know if its worth it for me. Im 13 years old and I dont think ill need as much space as a 25 but i want it to last. HELP!

    Im debating whether i should get the 8GB or 32 GB itouch. There's a 100 dollar price difference, and I wanna know if its worth it for me. Im 13 years old and I dont think ill need as much space as a 25 but i want it to last. HELP!

    Hello!
    I have a 8GB Ipod touch. I the other ine is worth the difference, because the simple ios 5.0 takes like 3 GB!!!
    Another reason is that new  some apps take 500 MB. I'm going to ask for the 32GB model for Christmas, and I am very disappointed with the amount of files you can have in the 8GB Ipod.
    Hope it helps you!

  • I purchased creative cloud for my Flash CS6 class not knowing there was a difference and now I need Flash CS6 How do I change? I cant complete my project without it.

    I purchased creative cloud for my Flash CS6 class not knowing there was a difference and now I need Flash CS6 How do I change?

    You can refer to:
    How to Move Adobe CC or CS6 Between Computers, or PC to Mac | ProDesignTools
    Can I install both CS6 and CC apps on my computer? « Caveat Lector
    Creative Cloud (CC) or Adobe CS6 – Which Should You Buy? | ProDesignTools
    Regards
    Rajshree

  • What are the difference and relations between Automatic Tuning Optimizer...

    What are the difference and relations between Automatic Tuning Optimizer and Automatic SQL Tuning Advisor?
    In my opinion, they are same.

    SQL> SELECT * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production

  • SCM 2007 and SCM 5.0 difference and benefits

    Hello,
    We are planning to upgrade our APO solution to the next version.  I wanted to  know if anyone has done any analysis between SCM 5.0 and SCM 2007 which points outs it differences and it's benefits.
    Also SCM 2007 being the latest version, is it stable version to upgrade.
    Please advise.
    Regards,
    Sanju

    SCM 2007 Vs. SCM 5.1:
    Product name is SCM 2007. SCM 5.1 is component under SCM 2007. However it is noted that these names are typically used interactively.
    As product is newly introduced...unless you need critical functionality being newly provided, you could wait till initial stabilization happens.
    Benefits:
    Enterprise Service bundle
    DP: Flexible graph generation, usability for context menu, identify/delete obsolete CVCs, enhancements in <<
    Graphics, Selection Mgmt
    >>
    SNP: Profitability driven SCM, Optimization - prioritization, sequence dep. setup costs, quota arrangements , receipt bounds, BADIs for master data edit thru CIF, enhancements in <<
    Shelf-life, subcontracting, Prod. Interchangeability, graphics, CTM
    >>
    PP/DS: User maintained capacity reservations,  MRP based detailed scheduling, download SNP blocks, Enterprise Services, enhancements in <<
    Campaign Planning, CTP
    >>
    SCM 7.0: This is still in development by SAP.

Maybe you are looking for

  • Ideapad S400u - Noise coming out from the headphone jack

    I also have this annoying noise coming out from my headphone. It happens while the notebook is charging/plugged. Could anyone help me? My lenovo is Ideapad S400u - Windowns 8.1 - 64 bits. Thank you,

  • Error 6971 when trying to update to 2.1

    when trying to update to OS 2.1 for my 1G 32GB itouch (currently running 1.1.4) it freezes in the middle of backup and then gives me the error 6971. I have tried all of the following suggestions in these articles to no avail: http://www.apple.com/itu

  • Unable to read or restore the backup contact from ...

    Team,         My Nokia C5-00 was suddenly switch off, i gave it to nearest nokia care, i tried to restore backup the contacts(which i took from my phone option) from my memory card to system and tried to open the contacts in notepad, but all the cont

  • CR2 Files from 5D Mark II

    I have a new Canon 5D Mark II which came out of the box with firmware rev 1.0.7. When I upload RAW CR2 files from this camera these files are not recognized by Camera Raw CS4 ver 5.0. I tried to convert the CS2 files to DNG automatically using Bridge

  • Updating item files in a folder

    I have a content area with several folders in it. Within these folders I have created files (pdf files) which are sales reports. Each night we run new reports and replace the files on the Portal server with the new files. However, within the site the