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 Role of Frontline Managers in Driving Workplace Performance and Customer Satisfaction

Blog banner

STUDY OF SYSTEM HACKING TOOLS

Blog banner

Short note on Microsoft office

Blog banner

Memory Partitioning

Blog banner

I/O Management and Disk Scheduling

Blog banner

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

Blog banner

Top 5 Tech Innovations of 2018

Blog banner

FASHION

Blog banner

Deadlock

Blog banner

Fashion design

Blog banner

Buffer overflow

Blog banner

Memory Management

Blog banner

THE ACTORS LIFE

Blog banner

Security and E-mail

Blog banner

RAID

Blog banner

Virtual memory

Blog banner

12 Principles of Animation

Blog banner

Deadlock and Starvation

Blog banner

Deadlock and starvation in operating system

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

TEAMWORK

Blog banner

Deadlock and starvation

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

Memory Management in Operating System

Blog banner

Service transistion under difficult conditions

Blog banner

Never give up

Blog banner

Music is life

Blog banner

A Happier Workplace Starts with Healthy Lunches by Meal Maharaj

Blog banner

Memory managment

Blog banner

" THE ANSWERS THAT LED INDIAN BEAUTIES TO THE MISS UNIVERSE HISTORIC WIN. "

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Importance of education

Blog banner

Ola

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

Mendeley (management software)

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

Operating system evolution

Blog banner

Segmentation and paging concept

Blog banner

Some facts about Technology

Blog banner

Ethical Hacking

Blog banner

Proton mail

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner