Volatile & Non Volatile Memory

Computer Memory In computing, memory refers to the devices used to store information for use in a computer. The term primary memory is used for storage systems which function at high-speed (i.e. RAM), as a distinction from secondary memory, which provides program and data storage that is slow to access but offer higher memory capacity. If needed,… Read More »

Computer memory Parameters

1.Location: It represents the internal or external location of the memory in a computer. The internal memory is inbuilt in computer memory. It is also known as primary memory.  the example of primary memory are registers, cache and main memory. Whereas, external memory is the separate storage device from the computer, such as disk, tape,… Read More »

Introduction of Software (System / Application)

Introduction of System Software : System software (systems software) is computer software designed to operate and control the computer hardware and to provide a platform for running application software. System software can be separated into two different categories, operating systems and utility software. The operating system (prominent examples being z/OS, Microsoft Windows, Mac OS X and Linux), allows the parts… Read More »

12.1 Class

A class is a group of objects which have common properties. It is a template or blueprint from which objects are created. It is a logical entity. It can’t be physical. A class in Java can contain: Fields Methods Constructors Blocks Nested class and interface Syntax to declare a class: class <class_name>{      field;      method;  }  

11.1 Super keyword

The super keyword in Java is a reference variable which is used to refer immediate parent class object. Whenever you create the instance of subclass, an instance of parent class is created implicitly which is referred by super reference variable. Usage of Java super Keyword super can be used to refer immediate parent class instance variable. super… Read More »

7. Modifiers in Java

There are two types of modifiers in Java: access modifiers and non-access modifiers. The access modifiers in Java specifies the accessibility or scope of a field, method, constructor, or class. We can change the access level of fields, constructors, methods, and class by applying the access modifier on it. There are four types of Java access modifiers: Private:… Read More »

8. Static Keyword

The static keyword in Java is used for memory management mainly. We can apply static keyword with variables, methods, blocks and nested classes. The static keyword belongs to the class than an instance of the class. The static can be: Variable (also known as a class variable) Method (also known as a class method) Block Nested class 1) Java static variable… Read More »

10.2 Types of inner class in Java: Normal inner class, Method local inner class, Anonymous inner class, and Static nested class.

1. Java Member Inner class A non-static class that is created inside a class but outside a method is called member inner class. It is also known as a regular inner class. It can be declared with access modifiers like public, default, private, and protected. Syntax: class Outer{   //code   class Inner{    //code   }  }   Java Member Inner Class Example In this example, we are… Read More »

9. Final Keyword

The final keyword in java is used to restrict the user. The java final keyword can be used in many context. Final can be: variable method class The final keyword can be applied with the variables, a final variable that have no value it is called blank final variable or uninitialized final variable. It can be initialized… Read More »