Internet - Prograabsjisj JB Mming - Answers
Internet - Prograabsjisj JB Mming - Answers
Internet Programming involves creating software applications that run on the internet.
Features include:
- Platform Independence
- Web-based Interface
- Client-Server Architecture
JVM (Java Virtual Machine) is part of the JRE that executes Java bytecode.
Components:
OOP Features:
- Encapsulation
- Abstraction
- Inheritance
- Polymorphism
- Modularity
4. What do you mean by package? How does it help? How to define a package in Java?
Package is a namespace that organizes classes and interfaces.
Helps by:
- Code reusability
- Better organization
Defining a package:
```java
package mypackage;
```
Example program:
```java
t.start();
```
Functions:
- Confidentiality
- Integrity
- Authentication
- Non-repudiation
Example: RSA
Example:
```java
class Table {
}
}
Table t;
MyThread(Table t) { this.t = t; }
new MyThread(obj).start();
```