Introduction to PHP Classes
PHP Classes is a user-defined data type encapsulating related data and functions. It defines the structure and behavior of objects that can be created based on th… Read More
This blog looks closely at friend functions, explaining what they are, how they are used, and their benefits. Let’s embark on a journey to understand the power and purpose of friend fu… Read More
Classes in Python
In Python, classes are a fundamental feature of object-oriented programming (OOP). They allow you to define a blueprint or template for creating objects, which can have att… Read More
Introduction to Java and Scala
Java and Scala are two of the most popular programming languages used in the software industry today. Both languages are widely used for developing enterprise… Read More
Constructors in Python are an essential part of object-oriented programming (OOP). In Python, constructors are special methods that are used to initialize the attributes of a class and they… Read More
Image referred from: http://www.sitesbay.com/java/images/basic-java/Static-and%20non-Static-Method-rules.png
static:
In Java, the ‘static’ keyword is used to declare member… Read More
Table of ContentsWhat is the toString() method?Why is the toString() method important?Understanding the default implementation of toString()Overriding the toString() method for custom class… Read More
All About Class Thread in JavaJava is a single-threaded system that uses an event loop with polling. Here a single thread that controls everything r… Read More
Introduction to Final Modifier in Java:final is a modifier in Java. The meaning changes from context to context. The final modifier can be used befo… Read More
The process of making an exact copy of an existing object is called object cloning in Java.
Cloning an object means an exact copying the content of an object bit by bit.
The object cloning i… Read More
An object in Java is an instance of a class. It is a real entity existing in the memory opposite to the class that acts as a blueprint for the object.
The object represents data and methods… Read More
Introduction to Java Method References
The following article provides an outline for Java Method References. In JDK 8, lambda expressions are introduced to create anonymous methods in one l… Read More
A class that is declared generic type is called generic class in java. It is type-safe and can act upon any data type.
A generic class is also called “parameterized types” becaus… Read More
Traits allow developer to reuse sets of methods freely in several independent classes living in different class hierarchies. Unlike interfaces, traits can have methods with any visibil… Read More
Creating threads in Java | We know that every Java program has at least one thread called main thread. When a program starts, main thread starts running immediately.
Apart from this main thr… Read More
SECTION A (40 Marks)Answer all questions from this SectionQuestion 1. (a) Which of the following are valid comments? [2](i) /* comment */(ii) /*comment(iii) //comment(iv) */ comment */… Read More
Goals
understand what ES6 is
Learn the most common ES6 features
What is ES6?
ES6 is the next version of Javascript following ES5. It was released in 2011 an introduced many useful changes fo… Read More
Introduction to Autoboxing and Unboxing in Java
Autoboxing is the automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper classe… Read More
Hi everyone, in this post we are going to discuss Blue Marble Smartware Interview Questions. These interview questions were asked during .NET fresher interviews. Let us discuss the answers f… Read More
Type Erasure is a process, where Java Compiler replaces type with its first bound if the type parameter is bounded, or Object if the type parameter is unbounded.Let me explain with an exampl… Read More
Hello, dear reader. After reviewing my previous post about exception handling many people advised me to write about RAII either. As the latter is not C++-specific only and it actually does n… Read More
Here is the sample code to show oops concept in javascript.<script type="text/javascript" > //Declare Class function myClass() { //Member Variable this.memberVariable… Read More
Serialization in Perl is the process of saving a class with multiple data types to a scalar (string of bytes). This can be used to save objects to a file or to transmit objects across the In… Read More