Packages are used in Java in order to prevent naming conflicts, to control access, to make searching/locating and usage of classes, interfaces, enumerations and annotations easier, etc. A package can be defined as a grouping of related types (classes, interfaces enumerations etc) providing access protection and name space management. A package is a collection of […]
Unit 8 : Inheritance
Inheritance is one of the three foundational principles of object oriented programming (abstraction, polymorphism and inheritance) because it allows the creation of hierarchical classifications. Using inheritance, we can generate class that defines traits common to set of related classes. This class can then be inherited by other more specific classes each adding those things that […]
Unit 7: A Closer Look at Methods and Classes
Overloading Methods In Java it is possible to define two or more methods within the same class that share the same name, as long as their parameter declarations are different. When this is the case, the methods are said to be overloaded and the process is referred to as method overloading Method overloading is one […]
Unit 6: Introduction to Classes
Class Fundamental Java is a true object oriented language and therefore the underlying structure of all Java program is classes. Anything we wish to represent in a Java program must be encapsulated in a class that defines the state and behavior of the basic program components known as objects. Classes create objects and objects use […]
Unit 5 : Control Statements | Java Notes
Control Statements in Java Programming Java Selection Statement: Java’s program control statements can be organized into the following categories: Selection Statements Iteration Statements Jump Statements Selection statements allow our program to choose between different paths of execution. Iteration statements enable a section of code to be repeated. Jump statements directly transfer program control from one […]
Unit 4: Operators
An operator is a symbol that tells the compiler to perform a specific mathematical, logical or other manipulation. Java has four general classes of operators. Arithmetic Operators: The operators that are used to carry out fundamental arithmetic operations are called arithmetic operators. The following table shows complete set of arithmetic operators. S.N Operator Meaning 1 […]
Unit 3: Data Types, Variables and Arrays
Java is a Strongly Typed Language: It is important to state that at the beginning that Java is a strongly typed language. Indeed, part of Java’s safety and robustness comes from this fact. First, every variable has a type, every expression has a type and every type is strictly defined. Second, all assignments, whether explicit […]
Unit 2: An Overview of Java
Object Oriented Programming: The major objective of object oriented approach is to enhance some of the flaws encountered in the procedural approach. OOP treats data as a critical element in the program and does not allow it to flow freely around the system. It ties data more closely to the functions that operate on it […]
Unit 1: Java’s Lineage TEXT
The Creation of Java: Java is a general purpose object oriented programming language developed by Sun micro system of USA in 1991 by the team led by James Gosling. The language was called Oak at the beginning and renamed in 1995 as Java. The Byte code: The Java compiler produces an intermediate code known as […]
BIM 2074 Batch | Ledger [1st – 8th semester]
https://studynotesnepal.com/wp-content/uploads/2022/08/BIM-1st-Sem-Reg-Ledger-2018.pdf https://studynotesnepal.com/wp-content/uploads/2022/08/BIM-2nd-Sem-Reg-Ledger-2018.pdf https://studynotesnepal.com/wp-content/uploads/2022/08/BIM-3rd-Sem-Regular-L-2019.pdf https://studynotesnepal.com/wp-content/uploads/2022/08/BIM-4th-Sem-R-Exam-Ledger-2019.pdf https://studynotesnepal.com/wp-content/uploads/2022/08/BIM-5th-Sem-R-Exam-Ledger-2020.pdf https://studynotesnepal.com/wp-content/uploads/2022/08/BIM-6th-Sem-Regular-L-2021.pdf https://studynotesnepal.com/wp-content/uploads/2022/08/BIM-7th-Sem-Regular-Ledger-2022.pdf https://studynotesnepal.com/wp-content/uploads/2022/08/BIM-8th-Sem-R-Ledger-2022.pdf

