Viva Questions Answers
Viva Questions Answers
data integrity, reduces redundancy, and allows for concurrent access and
security.
- Enhanced security
- Primary Key
- Foreign Key
- Unique Key
- Composite Key
- Candidate Key
- VARCHAR: Variable-length data type. Occupies only the length of the data
stored.
- NOT NULL
- UNIQUE
- PRIMARY KEY
- FOREIGN KEY
- CHECK
- Developers
- End Users
- SUM()
- AVG()
- COUNT()
- MAX()
- MIN()
to run programs, which makes Java code executable on any system with a JVM.
ArrayIndexOutOfBoundsException, etc.
- Object-oriented
- Platform-independent
- Secure
- Robust
- Multithreaded
17. What is the difference between while loop and for loop?
- while loop: Executes until a condition is false, used when the number of
- Single-line: //
- Multi-line: /* */
continue running.
James Gosling.
etc.
28. What is the difference between syntax errors and runtime errors?