Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> A Diff B/w C Sharp And Java "language"
illusion
post Nov 13 2004, 03:42 PM
Post #1


Member - Active Contributor
Group Icon

Group: [HOSTED]
Posts: 96
Joined: 9-October 04
Member No.: 1,064



well this is a new thing for me I read from somewhere..
it is that the premiting data types in both the languages differ in nature. java's builtin Datatypes are not inherited from the base class Object where as C sharps integer and the like data types have object as there baseclass but not surprisingly C sharps premitive datatypes get a located in the Stack instead of heep means there are still the value types.
what are u'r coments Does the C sharp Compiler totaly diferent features to work with these data types?
Go to the top of the page
 
+Quote Post
webshark
post Jun 24 2005, 09:18 AM
Post #2


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 23-June 05
Member No.: 6,512



The link between objects and primitive types is "boxing", a procedure that encapsulates a value type in an object when it is used where a object is required (such as passing a primitive type by reference). The whole boxing procedure is handled by the runtime and without needing the programmer to care about it.
You can find out much more about it by looking at:

http://msdn.microsoft.com/library/default....nvaluetypes.asp
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Your Most Favourite Computer Language(84)
  2. java.lang.NullPointException(4)
  3. javascript vs java(12)
  4. Basic C++ Language(19)
  5. Array Sorting(21)
  6. What Are The Advantages Of Java Vs C++?(15)
  7. Online Multiplayer Game(16)
  8. VB.NET: Switch Regional Language Automatically(1)
  9. Does Anyone Code Using Turing(2)
  10. A Complete Java Tutorial(4)
  11. Need Help: Find Lowest Character Using Java(7)
  12. What Language Is Linux Written In ?(15)
  13. Download Java Ebooks(13)
  14. Java By Example(8)
  15. Looking For A Java IDE(25)
  1. How To Create Exe File In Java?(12)
  2. How To Change Language At Login Screen(7)
  3. Counting Down To A Time(7)
  4. Graphcal User Interfaces In Java(4)
  5. Java Applet Loading Error(5)
  6. Setting Up Java Correctly(8)
  7. Increase Your Knowledge Of Html Language(11)
  8. Java Java.security.accesscontrolexception(6)
  9. Who Is No. 1 Actor In India (all Language Including Bollywood)?(1)
  10. Simple Java Question(3)
  11. Java And Sql: Data Mismatch(6)
  12. Java Memory Leak?(0)
  13. Php To Java(5)


 



- Lo-Fi Version Time is now: 5th September 2008 - 12:44 PM