wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes What features C++ has, but Java is missing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What features C++ has, but Java is missing" Watch "What features C++ has, but Java is missing" New topic
Author

What features C++ has, but Java is missing

Jane Somerfield
Ranch Hand

Joined: Jul 20, 2002
Posts: 193
Point, destructor, template?
Any more?
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
True multi-dimensional (e.g. rectangular) arrays
Pointers to primitive data types
Pointers to functions
Pointers to methods
Multiple inheritance
Functions that take variable numbers of arguments (especially the printf and scanf families)
Call-by-reference parameters
Operator overloading


Ron Newman - SCJP 1.2 (100%, 7 August 2002)
Norm Miller
Ranch Hand

Joined: May 21, 2002
Posts: 56
Also,
enums and unions ( although there are Java work-arounds for these )
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Java and c# Comparison form the JavaRanch Newsletter.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I think "missing" is a bad word to use. I think the statement should be "What features C++ has, but JAVA doesn't need."
I get tired of people comparing languages like this.


GenRocket - Experts at Building Test Data
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What features C++ has, but Java is missing