The way of writing Program in C and Java:
- Every program is a collection of variables and functions(methods)
- We can define these members directly in C program.
- In java application, every statement belongs to class(object).
Structure of Java application:
- Software is a set of programs.
- Java application is a set of classes(programs)
- Application execution starts with one program which contains main() method.