Professional Documents
Culture Documents
Encapsulation: making data hidden. Only methods of that class can access.
Implemented through private variables. Methods of other classes can access it but getter-setter
In Java, multiple inheritance is impossible in case of classes(extends) but possible for abstract
classes and interfaces(implements).
2 parent of one class is invalid, 2 child of one class is valid.
Array:
Values are stored sequentially.
One single node contains only one element.
Linked List:
Values are not stored sequentially.
One single node contains an element and the memory location address of the next node. That
is how nodes of a linked list are linked with each other.
lList.add("Geeks");
lList.add("Geeks");
lList.addFirst("First");
lList.addLast("Last");
lList.add(1, "For"); //(index number, element)
if (n == 1)
return 1;
else
return(n * factorial(n-1));
JDK = Java Development Kit, it consists of JRE (Java Runtime Environment) to execute
programs and another environment that helps users to develop their java program.
JVM = Java Virtual Machine, part of JRE and acts as a run time engine to run java applications.
CSI Model:
CSI stands for Continual Service Improvement.
Involves 6 steps:
1. What is the Vision? -> Business Vision, Mission, Goals and Objectives
2. Where are we Now? -> Baseline Assessment
3. Where do we want to be? -> Measurable Targets
4. How do we get there? -> Service and Process Improvement
5. Did we get there? -> Measurements and Metrics
6. How do we keep the momentum going? -> To keep going back to Step 1 until finished.