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

Service design process in ITSM

Blog banner

Deadlock

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

OLA

Blog banner

Virtual Memory

Blog banner

What is Minting & Mining

Blog banner

Artificial Intelligence (AI)

Blog banner

Memory Management

Blog banner

All you need to know about Website Traffic

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

A BLOG ON MYSQL

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

Business-to-Business

Blog banner

Atlantis - The Lost Island.........

Blog banner

ahh wait a min

Blog banner

Trends that began during the pandemic

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

Cloud Computing

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

Cache Memory

Blog banner

Evolution of the Microprocesor

Blog banner

bulk email software

Blog banner

NIKE

Blog banner

Way to make your meal healthier.

Blog banner

Respondo Launches Revolutionary Video Discussion App

Blog banner

Virtual Machine

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

IP ADDRESS

Blog banner

Service Design Principles

Blog banner

What is Network Security?

Blog banner

All you need to know about “On-page SEO”

Blog banner

Components of GIS

Blog banner

Data Structures

Blog banner

Intrusion Detection System

Blog banner

virtual machines and virtualization

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Paid Email

Blog banner

Open Source Project By Google

Blog banner