Benefits of JAVA
1. Simple
2. Secure
3. Portable
4. Object oriented: Encapsulation, Inheritance, Polymorphism
5. Robust (strong/sturdy)
6. Multithreading
7. Architecture neutral
8. Interpreted
9. High performance
10. Distributed
11. Dynamic (lively/energetic)
LANGUGAGES:
- PROCEDURAL:
- STRUCTURED: Has loops , functions
- OOL: java s completely an ool.
NOTE:
· DOT NET: write a program any language & easily convertible..
· FUNCTIONS: r known as methods n java
STRUCTURED PROGRAMMING SUMMARY
• Sequence structure
– “built-in” to Java
• Selection structure
– if, if/else and switch
• Repetition structure
– while, do/while and for