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

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

The Role of Summer Camps in Early Childhood Development

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

Modern operating system

Blog banner

Fault Tolerance

Blog banner

A Day in the Life at Elzee: What Your Child Does Between Drop-Off and Pick-Up

Blog banner

A Weekend of Wildlife, Rivers, and Relaxation in Southwest Florida

Blog banner

The launch of UniMap by HERE

Blog banner

The Power of Cyber Forensic in Solving Crimes

Blog banner

Deadlock

Blog banner

The Danger of Irregular Meals: Why Skipping Lunch or Eating Late Ruins Your Metabolism

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Importance Of Education.

Blog banner

Electronic Evidence in Cyber Forensics

Blog banner

Message Passing in OS

Blog banner

DIGITAL ECONOMY

Blog banner

A Heartfelt Act of Kindness

Blog banner

Vulnerability Assessment

Blog banner

RAID

Blog banner

Photography

Blog banner

The Role of cryptography in cyber security

Blog banner

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

Blog banner

The Sunny Side of Instagram

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

differentiate thinking humanly and rationally

Blog banner

Threading

Blog banner

John Titor: The Time Traveler

Blog banner

Outlook.com

Blog banner

MEMORY MANAGEMENT

Blog banner

Memory Management

Blog banner

This School Year, Let Their Belongings Come Back Home Too with Our Ultimate Labelling Kit

Blog banner

Heart Fulness Meditation

Blog banner

City of Mumbai (Bombay):

Blog banner

?What Your Dentist Notices The Moment You Sit In The Chair

Blog banner

Race Conditions

Blog banner

Fault Tolerance in an Operating System

Blog banner

What is Spyware?

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

Data Visualization in Decision-Making

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Phishing

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner