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

Supervised and unsupervised learning

Blog banner

Risk mitigation and management

Blog banner

Memory

Blog banner

Social engineering in cyber security

Blog banner

Importance of modern technology era

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

Consumer to consumer business mode

Blog banner

Why is ITSM important in IT organization?

Blog banner

Zero-Click Searches: How To Stay Visible In Google’s New Era

Blog banner

Game via listing method

Blog banner

Development Of Modern Operating System

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

Computer security techniques

Blog banner

Man is free by the birth .

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

Outlook mail

Blog banner

Life of a 2020-2021 student

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

NodeJs

Blog banner

Why Does Hierarchy Still matter in Organizations?

Blog banner

Predicting Student Performance with Data Science

Blog banner

INTRANET

Blog banner

What is thread and alse multithreading

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Concurrency management in operating systems

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

The launch of UniMap by HERE

Blog banner

Education: Key to your Prosperity

Blog banner

5 Common Faults In Construction Tenders

Blog banner

Beatbox

Blog banner

Latest Email Marketing Techniques

Blog banner

Smartsheet

Blog banner

Principal of concurrency

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Data Warehousing

Blog banner

Types Of Interrupt

Blog banner

Data Structures

Blog banner

Deadlock

Blog banner

Modern Operating System

Blog banner