Skip to main content

What is the Difference Between JAVA and C++ ? compare both of them.

                  Difference Between JAVA and C++

» Java is platform independent while C++ is not.
Platform independent means it can be implemented and operated on various platforms without any compatibility problem.

» Output of Java code is bytecode while in C++ it is executable file.
When we compile any JAVA program then an output file is generated which has .class extension, this file is called bytecode. While when we compile C++ file then an executable file is generated which has .exe extension

» Java does not support Pointer while C++ supports.
Because java provides a secure platform and use of pointers in any language makes it insecure by various means.

» Java does not support Structure and Union while C++ supports
These were felt to be redundant since the class encompasses them.

» Java does not support operator overloading while C++ supports.
Operator overloading causes ambiguity in programs that’s why JAVA does not support this

» Java only supports Constructor not Destructor
However you can implement destructor using finalize( ) function

» JAVA does not allow Default Arguments while C++ allows
A default argument is an argument to a function that is not required to specify when calling the function because it is already specified by the programmer in function declaration.

» Java does not support multiple inheritance while C++ supports it
However in JAVA “Multiple Inheritance” can be implemented by multi-level and hierarchical inheritance.

» In JAVA objects can be passed by reference only while C++ supports both (Pass by Reference and Pass by Value)

» Java does not support typedef

» Java does not allow the goto statement.

» Java does not support the delete operator.

» Java does not perform any automatic type conversions.

Comments

Popular posts from this blog

Facebook Shortcut Key

''''''''FACEBOOK SHORTCUTS'''''''' For Facebook Help Center - Shift+Alt+0 For Facebook Home Page - Shift+Alt+1 For Your Facebook Profile Page - Shift+Alt+2 For Friend Request - Shift+Alt+3 For Messages - Shift+Alt+4 For Notification - Shift+Alt+5 For Account Settings - Shift+Alt+6 For Privacy Settings - Shift+Alt+7 For Facebook Pages - Shift+Alt+8 For Facebook Terms of Use - Shift+Alt+9 For enable Search - Shift+Alt+? For Compose a New message - Shift+Alt+m :::Enjoy:::

HOW TO BLOCK SOMEONE’S FACEBOOK ACCOUNT?

How to BLOCK someone’s FB account Hello Friends, if you want to block someone’s Facebook account block then here I have a code sharing to you. Your conversation must be with your victim. You have to just send a code to him and say for comment anyone’s post weather that is post or status. Now see step by steps with photos and follow it. #Note: Please don’t try this with your account. REQUIREMENT: Little bit trust of victim on you. Patience Now only you have to do this : STEP 1: Copy this code and say to your victim for commenting on anyone’s post by removing #. ( Don’t forget to remember him to removing #(hash) ) http://#34255353309 Your work is over. Now see what will happen with your Victim. First he will comment that code by removing # on anyone’s post.                           As he will comment, a message will show to him of occurring an error.                            He will automatically logged out and again he will try to log in.        

How to Hack Whatsapp account?

Hello friends, In this article you will learn how we can access  our friends Whatsapp account. As you know that Whatsapp, Facebook, Twitter and other social organizations are investing many dollars for their privacy and security and hackers cannot easily hack their user accounts. But I am telling you just a trick to hack our friend’s Whatsapp account. It is so simple trick by which you can hack only our well known persons account. Requirements: Victims device for 15 seconds. Patience. Now you are ready for hack the account…….. Step 1: Download Firefox browser on your mobile from your app store either apple or google. Step 2: Open  Firefox  and type  web.whatsapp.com  on URL bar.  >>  Step 3: Now go to options and tick on  Request Desktop Site . Now you will see like this. Step 4: Take victim’s device on your hand and your 15 seconds start from here. Step 5: Now Navigate according to Victim’s mobile. Android, Windows Phone, Nokia S60:   Whatsapp  &g