What are Similarities and differences, written in concise form?
Thanks!
Stefano Mtangoo 455
Senior Poster
Recommended Answers
Jump to PostI'm afraid I'm no C++ guru, but I can probably compare C# and Java:
Some similarities:
- both have system garbage collection (C++ does not - you have to allocate and deallocate memory for objects).
- both have strict compiler conditions which are checked such as array indexes, initialisation …
Jump to PostIn C# there is the concept of namespaces, which (roughly) correlates to a package in Java, although in Java the naming convention matches the folder structure of the compiled .jar file whereas the C# namespace does not have to. Similarly, there is no hard and fast naming rule in C# …
Jump to PostIn Visual Studio, when you add a class file for your project the access identifier is not specified, but you can (and should) add it. If it isn't specified, it defaults to internal access, which is public within the namespace but private outside it. Java actually does something similar when …
All 9 Replies
darkagn 315
Veteran Poster Featured Poster
ddanbe
commented:
Good answer! +7
Stefano Mtangoo
commented:
Well explained! +6
Stefano Mtangoo 455
Senior Poster
darkagn 315
Veteran Poster Featured Poster
Stefano Mtangoo 455
Senior Poster
darkagn 315
Veteran Poster Featured Poster
Stefano Mtangoo 455
Senior Poster
darkagn 315
Veteran Poster Featured Poster
Stefano Mtangoo 455
Senior Poster
mayur_5 0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.