Skip to main content

Posts

Unit 3 Java

Features Of OOP   Object Objects are the entities through which we perceive the world around us. We naturally see our environment as being composed of things which have recognizable identities and behavior. The entities are then represented as objects in the program. In OOP system, an object is the run time entity i.e. a region of storage with associated semantics. In OOP "Object" usually means an instance of a class.   Example of Class and Object public class Main //Main is name of class {    int num = 15;      public static void main(String[] args) {      Main myObj1 = new Main();      Main myObj2 = new Main(); // myObj1 and myObj2 are object of main class      System.out.println(myObj1.num);      System.out.println(myObj2.num);    } }
Recent posts

Unit 3 SDLC

  Software Development Life Cycle The Software Development Life Cycle (SDLC) is a structured process used for developing high-quality software systematically. It defines steps to follow, from the initial planning to the final deployment and maintenance of software. Need of SDLC (Software Development Life Cycle) SDLC provides a structured approach to software development, helping developers follow a clear, step-by-step process. It improves project management by allowing better planning, scheduling, and tracking of resources, time, and progress. It helps in early detection of errors , reducing the cost and effort required to fix issues later in the development cycle. SDLC enhances communication between developers, testers, clients, and stakeholders by maintaining clear documentation and process flow. It ensures quality assurance by including validation and testing activities at every stage of development. It helps ...

Unit 2 Operating System

  Unit- 2  Process and Process Scheduling 2.1 Introduce Process, Program and Process Life Cycle  Process Process is something that is currently under execution. So, an active program can be called a Process. Examples: ●        Opening a web browser to search something on the internet — the browser becomes a process. ●        Launching a music player to enjoy your favorite tunes — the music player is also a process. In computing, a process is the instance of a computer program that is being executed by one or many threads. It contains the program code and its activity. Modern operating systems support multithreading , meaning a process can have multiple threads running concurrently .   A Process has various attributes associated with it. Some of the attributes of a Process are: ●          Process Id: Every process will be given a unique id that identifies the process...