How the data represents in a Computer

Information transformation and storing is the basic nature of the computer. Thus, a computer must be able to take input, process it and produce output. Here a question raised in our mind that is, how is the information/data representation in a computer? The data represents in the computer is in …

Read More »

Interview Question-Java Virtual Machine

When a Java program is compiled it is converted to byte code which is then executed by the Java interpreter by translating the byte code into machine instructions. Java interpreter is part of Java runtime environment. Byte code is an intermediate code independent of any machine and any operating system. …

Read More »

Object Oriented Programming in Java:

Oops is the most powerful technology. Expansion of oop is object oriented programming. The main components of object oriented technology are object & classes, data abstraction, Encapsulation, inheritance and polymorphism. Object: Object oriented means everything is centered on the concept of object. Main idea behind oops is to combine both …

Read More »

Inheritance:

Inheritance is an ability to derive new classes from existing classes. A derived class is known as subclass which inherits the instance variables and methods of the super class or base class, and can add some new instance variables and methods.You are not limited to just one layer of inheritance. …

Read More »