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

Modern Operating System

Blog banner

Steganography

Blog banner

BharatPe

Blog banner

Synchronization

Blog banner

How Laughing Gas Makes Your Dental Visit So Much Easier

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

BIRYANI ! The history you never knew about

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

Fault Tolerance

Blog banner

Why is ITSM important in IT organization?

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner

TRAIN TRAVELING

Blog banner

Network Forensics Tools and Techniques

Blog banner

Cache memory

Blog banner

SQL Injection

Blog banner

Big Data Architecture

Blog banner

Delhi city

Blog banner

Multicore CPUs

Blog banner

Direct memory access

Blog banner

Multiple processor scheduling

Blog banner

Sagar Parikrama

Blog banner

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

Blog banner

How to Manage Business Invoices and Payments Easily?

Blog banner

Kernel Modes: User Mode vs. Kernel Mode - 80

Blog banner

Paging

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Service Operations in ITSM

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

Direct memory access (DMA)

Blog banner

EVOLUTION OF MICROPROCESSOR

Blog banner

Deadlock in Operating System

Blog banner

OS Assignment 3

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

What is service level Agreement?

Blog banner

Short note on Microsoft office

Blog banner

1.1 basic elements

Blog banner

Virtual Machine

Blog banner

bulk email software

Blog banner

Types of OS

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner