wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

'C', 'C++' and 'Java': Head-to-Head

profile
Chayan Bhattacharjee
Mar 30, 2017
0 Likes
0 Discussions
492 Reads

Head-To-Head comparison of C, C++ and JAVA

C, C++ and Java are the most popular programming languages used today at a broad level. They have a pretty similar syntax for basic concepts. Most of the basic constructs like if statements, loops, function syntax, switch case statements and concepts like recursion are still valid. Many other concepts like the syntax for comments, and the idea of static class variables, also hold in both Java and C++. Java uses the syntax of C and structure of C++ language.There are many such aspects that need to be looked up and their comparison with java.

AspectsCC++Java
Developed Year197219791991
Developed ByDennis RitchieBjarne StroustrupJames Gosling
Successor of BCPLCC(Syntax) & C++ (Structure)
ParadigmsProceduralObject OrientedObject Oriented
Platform DependencyDependentDependentIndependent
Keywords326350 defined (goto, const unusable)
Datatypes : union, structureSupportedSupportedNot Supported
Pre-processor directivesSupported (#include, #define)Supported (#include, #define)Not Supported
Header filesSupportedSupportedUse Packages (import)
InheritanceNot SupportedSupportedMultiple Inheritance not Supported
OverloadingNot SupportedSupported (Method & Operator)Operator Overloading not Supported
PointersSupportedSupportedNot Supported
Code TranslationCompiledCompiledInterpreted
Storage AllocationUses malloc, callocUses 'new' Keyworduses garbage collector
Multi-threading and InterfacesNot SupportedNot SupportedSupported
Exception HandlingNot SupportedSupportedSupported
Storage class: auto, externSupportedSupportedNot Supported
DestructorsNo Constructor or DestructorSupportedNot Supported
Database ConnectivityNot SupportedSupported but complicatedSupported

The comparison chart just gives us a hint that which programming language provides which features. Thus for choosing any language for programming, be sure to know the basics. None of the programming language can claim to be "THE BEST", it all depends upon the choice of the individual. Java is definitely one of the mostly used language. The upcoming languages also has its features and older languages like C, VB, etc also has its own beauty.

 

Comments ()


Sign in

Read Next

Buffer Overflow

Blog banner

GOOGLE

Blog banner

Importance of Morning Routines for Students During the Festive Season

Blog banner

RAID

Blog banner

The Benefits of Mixed Learning Activities for Preschoolers

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

Data Lake

Blog banner

RAID

Blog banner

Why Inconel 625 and Monel 400 Remain Unbeatable in Refinery Applications?

Blog banner

?What Children Learn Between Activities: The Hidden Learning Moments in a Preschool Day

Blog banner

Linux Threads:

Blog banner

BENIFITS OF YOGA

Blog banner

Top 10 Logos and their meanings

Blog banner

Disk Management

Blog banner

Embedded Operating System

Blog banner

GraphX:- A graph processing tool

Blog banner

EdTech (Education Technology)

Blog banner

38_Exploring The Honeynet Project

Blog banner

Dekkers Algorithm

Blog banner

The Memory Hierarchy

Blog banner

Outlook.com

Blog banner

"Life as a Part-time Student"

Blog banner

What is Spyware?

Blog banner

Hacking of web server and application

Blog banner

Women Empowerment

Blog banner

Importance Of Yoga.

Blog banner

MD5 Collisions and the impact on computer forensics

Blog banner

Why is online marketing is important in current scenario

Blog banner

Full Disk Encryption

Blog banner

1.1 basic elements

Blog banner

Deadlock

Blog banner

Europe Through My Lens

Blog banner

Booting Process In Operating System

Blog banner

Pink sauce pasta

Blog banner

Street foods

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner

File Systems in OS.

Blog banner

Virtual memory

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

GEOLOGY AND GEO-TECTONIC FRAME WORK OF WESTERN BASTAR CRATON

Blog banner

Crypto tax evasion

Blog banner