Académique Documents
Professionnel Documents
Culture Documents
etc.
class: describes the properties (data) and methods (behaviors) for an object
abstraction: only the required information is displayed to user
abstract vs interface
encapsulation: variables of a class are hidden from other classes, and can be ac
cessed only through the methods of their current class,
therefore it is also known as data hiding. Illegal data modification cannot be d
one. We use getters and setters.
method overloading: class has multiple functions by same name but different para
meters
overriding: class has multiple functions by same name but same parameters
constructor: has tha same name as that of class name. set dynamic values to obje
cts upon their creation
xml
jsp servlets: JSP is a scripting language that can generate dynamic content. Ser
vlets are Java classes that can generate dynamic web content using print stateme
nts
url-get and post:
garbage collection: is a memory management module. In java garbage collection is
done automatically. It allocates and releases the memory for objects from syste
m. application does not get crashed.
jdbc:Java database connectivity. basically it is used to connect to databases
statement vs prepared statement: I have heard that prepared statement is much be
tter than statement in terms of security(preventing SQL injection attacks)
Normalization is the process of organizing data in a database.
creating tables and establishing relationships between those tables eliminating
redundancy and inconsistent dependency.
int, float, string, primitive datatypes
string declaration
array of objects: Array[] Object = new Array[];
== : to is used to compare 2 objects references, like it checks to see if the ob
jects refer to the same place in memory
.equals: it is basically used For comparing the contents of objects/string
primary key: that is unique for each record (an unique identifier)
foreign key: It is a reference to the primary key in another table
select * from tablename
sdlc steps: