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

The War With Cold On Earth

Blog banner

12 Principles of Animation

Blog banner

Virtual Machine

Blog banner

Zero-Day Attack

Blog banner

Not anti-social, but pro-solitude

Blog banner

Hosting basics

Blog banner

Multicore and multithreading 171

Blog banner

The Features of Blockchain

Blog banner

Open Source Project By Google

Blog banner

File management

Blog banner

OPERATING SYSTEM

Blog banner

Memory management

Blog banner

Deadlock Prevention

Blog banner

Apache Spark :- Powerful Data Processing Tool

Blog banner

BENIFITS OF YOGA

Blog banner

OS- Assignnment 1

Blog banner

Modern Operating system

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

Blockchain technology: security risk and prevention

Blog banner

Article on different management system

Blog banner

What is Influencer Marketing and its Trends

Blog banner

Cyber-crime Investigation and Future Directions

Blog banner

Game via listing method

Blog banner

Cache Memory in Operating Systems

Blog banner

Excel records

Blog banner

Evolution of the Microprocesor

Blog banner

Deadlock

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

Deadlock and starvation

Blog banner

BrainGate Technology

Blog banner

american greatines

Blog banner

Logical and physical address

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

Ubiquitous Computing

Blog banner

Linux Memory Management

Blog banner

TRAIN TRAVELING

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Real time scheduling

Blog banner

Evolution of the Microprocessor ~ Aditya Pai

Blog banner

Threats To Computer System

Blog banner

10 Signs your Computer has Virus

Blog banner

Memory Management

Blog banner