In this article I will explain How to Create Instance Variables and Class Variables in Python. Apart from class variables, and instance variables, we can also define variables within a method. In such a case, these variables are local variables and can be used within that method only. Further, we access the instance variables using …
HTML and Bootstrap Practice Questions
The following HTML and Bootstrap Practice Questions will help you learn the basics of web designing. Write HTML code to demonstrate different heading styles In order to demonstrate paragraph alignment, write an HTML code to display the different paragraphs with different alignment. Use at least three Container tags and empty tags. Since, we need to …
How to Implement Inheritance in Python
In this article I will explain How to Implement Inheritance in Python. In brief, inheritance allows the child class to inherit the properties of the parent class. While the parent class or the base class is the class that is being inherited. While the child class or the subclass is the class that inherits properties …
Comparing Rows of Two Tables with ADO.NET
The following code example describes Comparing Rows of Two Tables with ADO.NET. Basically, in this example, I will explain how to use DataRowComparer for comparing the rows. Creating the Database The following two tables will be their in the database. While the table Candidates represents all the candidates who want to apply for the membership. …
Examples of Array Functions in PHP
This article includes Examples of Array Functions in PHP. Basically, here I describe the usage of array_chunk(), and array_column() functions. The array_chunck() Function in PHP In order to split an array into chunks we can use the array_chunk() method. The function takes three parameters. While, the first one is the array that we need to …
Basic Programs in PHP
The following article shows Basic Programs in PHP. Examples on Expressions, Decision Making, and Loops Read and Display a String Decision Making Example Output even number Using Nested-if Statement Output 43 is smallest! While Loop Example – Displaying Table of a Number Output Using switch..case Statement in PHP Output Division = 197.68888888889 Creating Arrays in …
Human Activity Monitoring Using AIoT
Human Activity Monitoring Using AIoT is one of the current topics of research. In fact, wearable sensors can collect data that we can use to monitor human activities. Besides, the use of Artificial Intelligence (AI) and Machine Learning (ML) techniques help us in detecting what activity a person is performing. What is AIoT? Basically, a …
Database Record Navigation Example Using ADO.NET
This article demonstrates a Database Record Navigation Example Using ADO.NET. The following example uses VB.NET. While the C# code is available here. Basically, .NET Framework provides the ADO.NET library that comprises classes and methods for connecting the application with a database and performing various operations on it. Creating Database in SQL Server At first, start …
Understanding Enterprise Java Beans
In this article on Understanding Enterprise Java Beans, I will explain the concept of Enterprise Java Beans and their role in building a Java Enterprise application. Basically, an Java Enterprise application that makes use of Java EE technology happens to be a multi-tier application. Further, the enterprise-level applications must be scalable and robust. Often these …
Examples of Dialog Controls in VB.NET
This article demonstrates some Examples of Dialog Controls in VB.NET. As can be seen, the example given below shows the usage of ColorDialog, FontDialog, and SaveFileDialog. Changing the BackColor and ForeColor of the text using ColorDialog In order to use the ColorDialog control, create an object of it and call the ShowDialog() method. For example, …