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
495 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

A Day in the Life at Elzee: What Your Child Does Between Drop-Off and Pick-Up

Blog banner

"Geographic Information Systems (GIS) and its Applications in Urban Planning"

Blog banner

Phishing Isn't Getting Smarter — You're Just Seeing More of It

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Race condition

Blog banner

child Labour

Blog banner

Decoding Confusion Matrix

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

Memory management and virtual memory

Blog banner

Processing Crime and Incident Scenes

Blog banner

The most common internet security threats

Blog banner

OS Assignment 3

Blog banner

Office Lunch Problems in Mumbai and How Tiffin Services Solve Them

Blog banner

Data Mining

Blog banner

An Approach To Spyware Detection And Removal

Blog banner

Web Site

Blog banner

An Overivew Of Cache Memory

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

Virtual Machine

Blog banner

DATA WRANGLING

Blog banner

What your Favorite colour says about You?

Blog banner

Use case of K-means clustering

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

Types Of scheduling

Blog banner

Esri India launches Policy Maps.

Blog banner

Exploring Florida Beyond the Obvious Tourist Trails

Blog banner

How Preschool Annual Day Shapes Confidence, Emotions, and Growth

Blog banner

GIS REMOTE SENSING

Blog banner

Why Every Preschooler Learns at Their Own Pace?

Blog banner

The New Classic: Indo Western Patola Outfits for Today’s Woman

Blog banner

Ola

Blog banner

Tools to support CSI activities

Blog banner

E-Cash (Electronic Cash)

Blog banner

TAILS OS

Blog banner

The Role of Fibre in Everyday Nutrition and Digestive Health

Blog banner

Data Warehousing

Blog banner

Types of threads

Blog banner

Characteristics of Etherum

Blog banner

Smartsheet

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Booting Process In Operating System

Blog banner