JAVA
[10:07 AM, 4/11/2025] ......: What is java?
Java is a class-based object oriented simple programming language.
Java makes writing compiling and the bugging programming easy.
It helps to create reusable code and modular programs.
[10:07 AM, 4/11/2025] ......: What is JDBC?
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
1. JDBC-ODBC BRIDGE DRIVER
In a type 1 Driver a JDBC bridge is used to access ODBC drivers installed on each client
machine.
2. JDBC Native API Driver
In type 2 driver jdbc API calls are converted into native C/C + + API calls which are unique to
the database.
3. JDBC- Net Pure Java Driver
In a type 3 driver a three- tier approach is used to access databases.
4. Native Protocol Pure Java Driver (100% pure java)
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
Represents the information about the particular result.
[10:07 AM, 4/11/2025] ......: METADATA
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.
Java provides built in support for multi-threaded programming
[10:07 AM, 4/11/2025] ......: What are threads
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.
2. Runnable - the thread is in renewable state after in vocation of start () method
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
5. Terminated- A thread is in terminated state when its run() method exits.
[10:07 AM, 4/11/2025] ......: Inet Address
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
A servlet is a small Java program that runs with in a web server.
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
1. Generic servlet -generic servlet are protocol independent.
2. Http servlet - they have built in HTTP protocol support.
[10:07 AM, 4/11/2025] ......: What is JSP
JavaServer Pages(JSP) is a standard for developing interactive web application ( pages
contain dynamic content)
[10:07 AM, 4/11/2025] ......: Cookies
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 helps track the user's activity across multiple pages.
[10:07 AM, 4/11/2025] ......: Spring
Framework created to address the complexity of enterprise application development
[10:07 AM, 4/11/2025] ......: Hibernate
Hibernate is an open source light-weight Java ORM( Object-Relational Mapping) framework
in that helps store, update, and retrieve data from a database easily.
It removes the need to write complex SQL by letting you work with Java objects instead.
[10:07 AM, 4/11/2025] ......: Socket
A socket in Java is a way to connect two computers to communicate over a network. It
allows data to be sent and received between a client and a server.
[10:07 AM, 4/11/2025] ......: Method overloading
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]
Roshni Clg: What is C#
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
The value type are divided into two categories
-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]
Roshni Clg: Constructor
A constructor is called when an object is first created
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 is introduced to provide the features of multiple inheritances to classes.
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:
The code doesn’t do anything harmful.
Memory is accessed properly.
It follows .NET security rules.
[10:59 AM, 4/11/2025] Roshni Clg: 1. DataReader:
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.