473,396 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Names, Binding , Type Checking, and

Take three of your chosen programming languages( C , C ++ and Java) and compare and contrast them on the following perspectives:-
• Type binding
• Storage binding
• Type Checking
Feb 21 '07 #1
9 2231
sicarie
4,677 Expert Mod 4TB
Take three of your chosen programming languages( C , C ++ and Java) and compare and contrast them on the following perspectives:-
• Type binding
• Storage binding
• Type Checking
That's a statement. Do you have a question about one of those points?

(Please keep in mind the FAQ - we cannot and will not do your homework for you - but we are more than happy to help you find resources through which you can answer the question)
Feb 21 '07 #2
That's a statement. Do you have a question about one of those points?

(Please keep in mind the FAQ - we cannot and will not do your homework for you - but we are more than happy to help you find resources through which you can answer the question)

can explain to me storage binding for c c++ and java..compare them..i cant find any source
Feb 21 '07 #3
sicarie
4,677 Expert Mod 4TB
can explain to me storage binding for c c++ and java..compare them..i cant find any source
No, as I said, I will not do your homework for you.

But I will help you with this, if you are willing to do work. What google searches have you done to try to figure these out?
Feb 21 '07 #4
No, as I said, I will not do your homework for you.

But I will help you with this, if you are willing to do work. What google searches have you done to try to figure these out?
For C

- uses the key word static to define a variable as static


-local variables are by default, stack-dynamic, and are called “automatic” and declared as ‘auto’


Heap-dynamic variables
- variables are created by a call to a system subprogram


For c++


- local variables are by default, stack-dynamic, and are called “automatic” and declared as ‘auto’

- variables are created by an operator


For java

- variables are created by an operator
Feb 21 '07 #5
sicarie
4,677 Expert Mod 4TB
For C

- uses the key word static to define a variable as static


-local variables are by default, stack-dynamic, and are called “automatic” and declared as ‘auto’


Heap-dynamic variables
- variables are created by a call to a system subprogram


For c++


- local variables are by default, stack-dynamic, and are called “automatic” and declared as ‘auto’

- variables are created by an operator


For java

- variables are created by an operator
Ok, you have a good start there - where do you need help?
Feb 21 '07 #6
Ok, you have a good start there - where do you need help?
C and java is stack dynamic for storage binding..how about c ++ huh?
Feb 21 '07 #7
local variables are by default, stack-dynamic, and are called “automatic” and declared as ‘auto’

this statement true for java huh?? its true for c n c++..
Feb 21 '07 #8
sicarie
4,677 Expert Mod 4TB
local variables are by default, stack-dynamic, and are called “automatic” and declared as ‘auto’

this statement true for java huh?? its true for c n c++..
I'm sorry, I don't know that much about memory management in Java. I started in C++ worrying about memory and everything, and it's one of the things I gave up when I started learning Java.

Maybe one of our other cross-forum posters can comment on that?
Feb 21 '07 #9
RedSon
5,000 Expert 4TB
For c/c++ variables and objects declared in the local scope are saved in the stack. For heap allocations you have to declare them (correct me if I am wrong) statically or globally (or both) or with a memory management function.
Feb 21 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jacob H | last post by:
Hello all, I would like to be able to take a module full of class instances, functions, etc and bind all its names to a separate container class in a different module. I have come up with the...
21
by: Mike MacSween | last post by:
Had some trouble with Word automation. Sorted it, in the process thought I would try late binding. Some people reccomend it. So this: *********************************************************...
2
by: Mystery Man | last post by:
We are developing a C# application that has many interfaces to the Microsoft suite (eg Word, Excel, Outlook, Powerpoint, etc). We need to support Office 97, 2000, 2002 and any future versions. ...
5
by: John Hardin | last post by:
All: Is it possible at runtime to determine the names of all classes derived from a given class? -- John Hardin KA7OHZ <johnh@aproposretail.com> Internal Systems...
5
by: Wavemaker | last post by:
I was wondering if there is way in the .NET framework to test if a string represents a valid identifier name for the C# language. I want to write a program that will generate code based on user...
0
by: Andrew Brook | last post by:
Hi everyone, I've been going through an article i found on MSDN (http://msdn.microsoft.com/msdnmag/issues/02/12/WebServicesDesign/) concerning designing the messages for a webservice in a schema...
0
by: John Davis | last post by:
Hi all, hope you are well. I would like to know if I can access the strongly typed properties of my datatable when binding through the ObjectDataSource object. I am currently creating some...
0
by: John Davis | last post by:
Hi all, hope you are well.(not sure if this posted the first time) I would like to know if I can access the strongly typed properties of my datatable when binding through the ObjectDataSource...
1
by: Stephen Plotnick | last post by:
My understanding of data binding means that when a user changes a value on the screen it actaully changes the value in an Access table. If this is true here is what I want to do: Threee field...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.