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


 



- Lo-Fi Version Time is now: 11th October 2008 - 08:26 PM