java & c

Ads
 

java & c

why c language is called top down approach? why java is called bottom to top approach?

View Answers

January 31, 2012 at 4:37 PM

In C, compilation stats from the very top of the program code. In Java, on the other hand, we have user defined data-types. These are defined at the start of the program. Compilation starts from the main function; thereafter as the control comes across these data types, compilation of the definition of these data types are performed. Thus we can say that in C the execution starts from the top and goes down to the bottom; Java on the other hand start from bottom and comes back the top(user defined data types) later.


February 23, 2012 at 4:49 PM

In C, compilation stats from the very top of the program code. In Java, on the other hand, we have user defined data-types. These are defined at the start of the program. Compilation starts from the main function; thereafter as the control comes across these data types, compilation of the definition of these data types are performed. Thus we can say that in C the execution starts from the top and goes down to the bottom; Java on the other hand start from bottom and comes back the top(user defined data types) later.

Ads









Related Tutorials/Questions & Answers:
java & c
java & c  why c language is called top down approach? why java is called bottom to top approach?   In C, compilation stats from the very... that in C the execution starts from the top and goes down to the bottom; Java
C/C++/JAVA Question on function
C/C++/JAVA Question on function  "Write a function to find out common... other data type also.ΓΆβ?¬Β? Question can be solved in C,C++ or JAVA. (Recommneded - C
Advertisements
about c and java
about c and java   i need java and c language interview and objective... visit the following links: http://www.roseindia.net/java/ http://www.roseindia.net/c-tutorials/ http://www.roseindia.net/interviewquestions
C Language - Java Beginners
C Language  1. What are extension files? Give examples. 2. What is operating system? What are the different types available? 3. What is the purpose of operating system? 4. What is the function of operating system? 5
Difference between C++ and Java
Java and C++ are Object Oriented Programming (OOPs) language. Java... complex when compared to Java . C++ was designed for infrastructure programming and extends the C programming language. Java supports network computing
java equivalent of c function htonl & htons
java equivalent of c function htonl & htons  hi is there any java equivalent for the c function htonl & htons
c#
c#  how to find out the size of the BMP image in C
C++
C++  How can i write this in dev c
C++
C++  How can i write this in dev c
Difference between Java and C++
Difference between Java and C++ Java is an Object Oriented... Java Virtual Machine (JVM). Everything in java is treated as an object. C.... Differences are as follows: C++Java C++ is known as superset of C
Java for C Developers
Java for C Developers          Some times ago, many people believed that Java was slower than C... for the virtual machine.   Features of Java over C There are a number
c++
c++  use a prgrm as an example to xplain-: a)class b)object c)message d)cope resolution operator
c++
c++  write a programme that calculates the area and circumference of a rectangle
c#
c#  how to find out the size of the BMP image
c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used
c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used
c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used
C++
C++  dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser
How to ensure the same output by java code on 32 bit m/c and 64 bit m/c
How to ensure the same output by java code on 32 bit m/c and 64 bit m/c  How to ensure the same output by java code on 32 bit m/c and 64 bit m/c
c++
c++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples
c++
c++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples
C++
C++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples
c++
c++  write a prgrm tht accepts 3 integer values,then with a function to swap the values
C++
C++  Trace the bubble sort using the following integers,which represent the elements in an array. 5,7,3,8,6,7,3
C++
C++  I have been asked to write a programme that gets five values,gets the sum,average and product please help me
C#
C#  i need a code that will make program perform the basic operations upon the data Listview save, update and cancel
c++
c++  write a prgrm tht calculates the surface area of a cylinder.the prgrm shld find the circumfrance and have a function that calculates the fadius and another to calculate the surface area
C++
C++  write a prgrm tht gets five values,gets the sum,average &...; #include <conio.h> void main() { clrscr(); int a,b,c,d,e,sum; float average...;>b>>c>>d>>e; sum=a+b+c+d+e; average=sum/5; product=a*b*c*d
c++
c++  .write a program that accepts 5 subjects of a student,it should have a function to calculate the average & another function to grade.grade should be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70
c++
c++  Consider the following function: int funcExercise7(int list[], int size) { int sum = 0; for (int index = 0; index < size; index++) sum = sum + list[index]; return sum
C#
C# register form  i want to generate a user id automatically after filling their register form and i want to show their id to their email? please reply me soon

Ads