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

Deadlock

Blog banner

Philadelphia Experiment : Was it real?

Blog banner

Cache memory

Blog banner

GraphX:- A graph processing tool

Blog banner

What is Internet

Blog banner

Memory Management

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Craziness of dream 11 and how it impacts on our life

Blog banner

Hot Mango Pickle (Methiyu)

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner

Memory Management

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

Street foods

Blog banner

History of ITIL

Blog banner

Deadlock in Operating System

Blog banner

What is Brute Force Attack? How to defend against it?

Blog banner

LEMON PICKLE SWEET AND MILD HOT

Blog banner

Principles of Service Operation

Blog banner

Data Science in Mental Health Prediction

Blog banner

NodeJs

Blog banner

Security Breaches in Stock market trading

Blog banner

Memory input output management

Blog banner

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

Blog banner

LINUX

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

What is E-commerce

Blog banner

Review on Recovering Deleted Files

Blog banner

Constrains in service design

Blog banner

IP Address

Blog banner

Scala - a programming tool

Blog banner

Uniprocessor Scheduling

Blog banner

What is Segmentation?

Blog banner

Buffers in Operating Systems

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Technical SEO : Total Guide

Blog banner

Shoulders

Blog banner

Key to success in Sports

Blog banner

Sage

Blog banner

BITCOIN WALLET

Blog banner