Viva
Viva
JDBC( Java Database Connectivity) is a java API to connect and execute the query with the
database
JDBC API uses jdbc drivers ( JDBC-ODBC Bridge Driver, Native Driver etc) to connect with
the database
[10:07 AM, 4/11/2025] ......: Types of JDBC Drivers
In a type 1 Driver a JDBC bridge is used to access ODBC drivers installed on each client
machine.
In type 2 driver jdbc API calls are converted into native C/C + + API calls which are unique to
the database.
In a type 4 driver a pure Java-based driver communicates directly with the vendors database
through socket connection.
[10:07 AM, 4/11/2025] ......: ResultSetMetaData
JDBC MetaData is the collective information about the data structure and property of a
column available in table
[10:07 AM, 4/11/2025] ......: Jdbc API is available in two packages
1. java.sql
2. javax.sql
[10:07 AM, 4/11/2025] ......: What is multithreading
Multithreading in java is a process of executing multiple threads simultaneously.
A task is completed by a program with the sequence of steps, called as process. each
specific task in a process is called thread
[10:07 AM, 4/11/2025] ......: Life cycle of thread
1. New - new thread begins its life cycle in the new state.
3. Running - the thread is in running state if the thread schedule has selected it
4. Not Runnable - this is this statement thread is still alive but is currently not eligible to run
This class is used to encapsulate both the numerical IP address and the domain name for
that address
[10:07 AM, 4/11/2025] ......: What is servlet
Servlets receive and respond to the request from web client usually across HTTP( hypertext
transfer protocol)
[10:07 AM, 4/11/2025] ......: Types of servlet
A cookies a small piece of information that is passed back and 4th in the http request and
response
[10:07 AM, 4/11/2025] ......: Session
A session is a way to store user information (like login details) while they browse a website.
It removes the need to write complex SQL by letting you work with Java objects instead.
[10:07 AM, 4/11/2025] ......: Socket
When a class has multiple methods with the same name but different parameters
[10:07 AM, 4/11/2025] ......: Method Overriding
When a subclass provides its own version of a method already defined in the parent class,
same method name and parameters
.NET
Roshni Clg: Dialog box
Input box () - input box is used to prompt the user to enter the values
Message box () - a class called as message box because it is introduced by vb.net which
encapsulate all the features of message box
[10:38 AM, 4/11/2025]
C# is an object oriented programming language which combines the power and efficiency of
C++, simplicity and object oriented approach of Java and creativeness of which visual basics
[10:40 AM, 4/11/2025] Roshni Clg: Value type
Value types allow us to store the data directly into the variable
-Struct type
-Enumeration type
[10:41 AM, 4/11/2025] Roshni Clg: Reference Type
Reference type stores the reference to memory location of the accurate
[10:47 AM, 4/11/2025]
Destructor
A destructor is called when the object is finally destroyed and the garbage collected
[10:47 AM, 4/11/2025] Roshni Clg: Inheritance
A class that inherits the properties of another class is called a child class where as the class
from which the child class inherit properties is known as a parent or base class
Types of inheritance
Single inheritance
Hierarchical inheritance
Multilevel inheritance
[10:49 AM, 4/11/2025] Roshni Clg: Interfaces
An interface can have the same access modifier as a class such as public and private
[10:49 AM, 4/11/2025] Roshni Clg: Abstract class
Abstraction is the process of hiding the details of a particular object from a user and
exposing only the essential features
[10:50 AM, 4/11/2025] Roshni Clg: What is ASP.NET
ASP.NET is a server side technology used for developing dynamic websites and web
application
[10:52 AM, 4/11/2025] Roshni Clg: Treeview control
The tree view control is used for logically displaying the data in a hierarchical structure
[10:53 AM, 4/11/2025] Roshni Clg: Asp Validation
Validation controls validate the user input data to ensure that useless UN authenticated data
don't get Stored
[10:54 AM, 4/11/2025] Roshni Clg: ADO.NET
ADO.NET is a set of classes that expose data access service for dotnet framework
programmers
[10:55 AM, 4/11/2025] Roshni Clg: Data gridview
The data gridview control supports the standard windows form data binding model so it can
bind to a variety of data sources
[10:57 AM, 4/11/2025] Roshni Clg: Verification
Verification in .NET means checking if the code (especially compiled code) is safe and
follows rules before it runs.
It ensures that:
Used to read data from a database quickly and forward-only (one row at a time).
2. DataAdapter:
Used to fill data into a DataSet or DataTable and can also update the database.