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

Why Should You Schedule Tweets on Twitter?

Blog banner

Segmentation and paging concept

Blog banner

Synchronization

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Mumbai

Blog banner

How to grow followers on Instagram business account?

Blog banner

Theads

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

Deadlock

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

You Get Everyone, But No One Gets You: The Lonely Side of High Emotional Intelligence

Blog banner

I/O Management and Disk Scheduling

Blog banner

Dangers of Using Public WiFis

Blog banner

Quality check in IT services

Blog banner

Cache Memory

Blog banner

Why Summer Break Is Important for Emotional and Cognitive Growth?

Blog banner

Interrupts - Types, Working & Importance

Blog banner

Threads

Blog banner

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

Blog banner

RAID - LEVELS OF RAID

Blog banner

Open Source Project By Google

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

Data Acquisition in Cyber Forensics

Blog banner

GUIDE TO GIS

Blog banner

Memory Management of Operating System(OS)

Blog banner

Deadlock and Starvation

Blog banner

What are Tenders its various types

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

Real time scheduling

Blog banner

Memory Management

Blog banner

Deadlock

Blog banner

How Much Protein Do You Really Need Every Day?

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

Memory management

Blog banner

Global versus Indian Mental Health Differences

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Introduction to Virtual Memory - 080

Blog banner

Explain website hacking issues

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Financial Fraud Detection

Blog banner

Deadlock and Starvation

Blog banner