Single Inheritance in java

Single/Simple inheritance: In Parent Child relation, we access the functionality Parent using Child but we cannot access Child functionality using Parent. Accessing Non static functionality: What is the super class of all classes in java? …

Inheritance in Java

Inheritance: Inheritance is the Concept of defining new Object by reusing the functionality of existing object. Create a class by using the functionality of existing class. Inheritance is used to update (release next version) of …

Constructor chaining in java

Constructor Chaining: The concept of connecting multiple constructors in Object creation process. this() method is used to call constructor of same class explicitly. this() can access zero args constructor this(parameters) can access args constructor We …

Access Static and Non static in java

How can we access Non-static members in Java? Answer: Using Object address, we can access. How to access static members in Java? Answer: Either by using class name or by using object address. Why it …

Default constructor in java

Default constructor: Compiler adds a zero args constructor with empty body is called default constructor. We can check compiler added code using “javap” command Compiler doesn’t add default constructor when we define any constructor explicitly …

POJO in java

Encapsulation: Encapsulation is the concept of protecting object functionality from outside access. Writing data (variables) and code (methods) into a single unit. In the communication world, we should make outer visibility of Object but not …

Object Oriented Programming in Java

Introduction:    Java is Object oriented Programming Language. Java is not fully object oriented because it is supporting primitive types. Wrapper classes providing functionality to convert Primitive data into Objects in java applications. Object Oriented Programming …

Wrapper class fields in java

Byte class fields: Byte class is having not only methods & constructors, it has set of variables. These variables represent limits & size of byte data type. Static fields of Byte class can be accessed …

String conversions in java

String Data conversions: String variable can accept any type of data. Generally input always collect in string format only. We need to convert these string type values into corresponding primitive types before processing in application. …

unboxing in java

UN boxing: Conversion Object Byte into primitive byte type. Byte class is providing instance method byteValue() to perform this conversion. Conversion logic to perform Unboxing:

Courses Enquiry Form