Differences Definitation
Differences Definitation
A flaw or deviation
A flaw in the A human mistake
from the
software's or omission in the
Definiti requirements found
functionality code or logic that
on by the end-user
identified causes incorrect
after the product is
during testing. behavior.
released.
Detected after
Detected during Occurs during
deployment,
Timing testing before coding or
typically by the end-
deployment. programming.
user.
During or after
When It During development (e.g.,
development (e.g., UAT,
Happens code reviews, unit testing).
system testing).
Internal testing of an e-
Users testing the app by
commerce app to ensure
Example making actual purchases
product categories display
and reporting issues.
correctly.
Authentication vs Authorization:
Authorization: Once logged in, the user can only view their
account details and is restricted from accessing admin
features.
Validation vs Verification:
Beta: Real users try out the feature and provide feedback
before the final launch.
---------------------------------------
1. Overriding vs Overwriting:
Overriding:
- Example:
```java
class Animal {
void sound() {
@Override
void sound() {
System.out.println("Dog barks.");
```
Overwriting:
- Example:
```java
data = "New Data"; // Overwrites the old data with new data.
```