Java is a High Level Programming Language + machine independent platform. It follows four basic rules: 1. Polymorphism 2. Inheritance 3. Encapsulation 4. Abstraction. Ii. High Level Programming Language. A. Pointers are removed in java. B. Structures and Unions are not supported in java classes. It is carried out through interfaces. C. Garbage Collection is carried out automatically whereas in C++ it was carried out manually. D. Multithreading is possible in
Java is a High Level Programming Language + machine independent platform. It follows four basic rules: 1. Polymorphism 2. Inheritance 3. Encapsulation 4. Abstraction. Ii. High Level Programming Language. A. Pointers are removed in java. B. Structures and Unions are not supported in java classes. It is carried out through interfaces. C. Garbage Collection is carried out automatically whereas in C++ it was carried out manually. D. Multithreading is possible in
Java is a High Level Programming Language + machine independent platform. It follows four basic rules: 1. Polymorphism 2. Inheritance 3. Encapsulation 4. Abstraction. Ii. High Level Programming Language. A. Pointers are removed in java. B. Structures and Unions are not supported in java classes. It is carried out through interfaces. C. Garbage Collection is carried out automatically whereas in C++ it was carried out manually. D. Multithreading is possible in
2. Java is compiled + Interpreted 3. What is core java? a. It is a high level programming language + machine independent platform. b. Provided by Java SDK. c. It is an OOPS based high level programming language. i. OOPs: A programming language that follows four basic rules. 1. Polymorphism 2. Inheritance 3. Encapsulation 4. Abstraction. ii. High Level Programming Language. 4. J2SE (Java 2 Standard Edition) Java Version 2. 5. Application Fields of Java a. Computer Graphics b. Embedded c. Web Applications d. Enterprise Applications e. Web Applications f. Mobile Apps (Android) g. Cloud Applications h. Desktop Based Application. i. Gaming 6. Difference between C or C++ and Java. a. Platform Independent b. Compiled + interpreted c. Pointers are removed in Java. d. Structures and Unions are not used in Java e. Multiple inheritance is not supported in Java classes. It is carried out through interfaces f. Garbage Collection is carried out automatically whereas in C++ it was carried manually. g. Enterprise applications can be developed. h. Multithreading is possible in Java. 7. Supports WORA Write Once Run anywhere. 8. It is a portable language. 9. Robust :- 10. Secure :- a. No Pointers b. ByteCode Verifier 11. Needed in Java for programming a. Classes b. Objects c. Variables (States) d. Methods 12. Console: Interaction medium between the program and the end user.
13. Rules for writing a java programming a. First alphabet of the java class should be in capital letters b. Class name should be Noun and understandable. c. Methods is of the type (word + noun) 14. Data-Types: a. Primitive i. Int ii. Byte iii. Short iv. Long v. Float vi. Double vii. Char b. Non-Primitive 15. Variables are of two main types : a. Instance Variable (Global) b. Local Variable Notes: System, out always have (Has a) relationship between them. Range is calculated by (2 n-1 - 2 n-1 -1)