Publications
Java:The Pitfalls of Inheritance Part-2
Listing 3 A Simple inheritance model
Following this example, we would do the following to create an instance of the Car object:
//create a new instance of the Car object
Car car = new Car();
In this, the instance variable of the Car class named model and also the instance variable registration of the super class Vehicle both will get initialized to their default values. By default, the Java Virtual Machine will allocate enough space for all the instance variables of the Objects own class and all the instance variable in all its super classes. Do not forget that in Java you can have multi-level inheritance, that is a Car IS A Automobile IS A Vehicle. In such cases, the same initialization mechanism will be followed. The initialization chain finally leads to the java.lang.Object class as all the classes in Java implicitly inherits from the Object class.
Easy Way to Block Adult Sites use DNS in Mikrotik
Blocking Adult Sites Easy in Mikrotik
Creating a healthy internet atmosphere is important. Especially if the stout client of our network is children or school children who can not access adult content. The problem is, a lot of adult sites are circulating on the internet. This will make a headache if we have to block his site one by one.
To be able to block certain sites or content on the internet on Mikrotik can be done by:
What is a VPN? Know the VPN Principles & How it Works
What is a VPN? Maybe this question arises when you’ve just heard of a VPN. To explain what is VPN and the working principle of VPN, please refer to the following article:
VPN ( Virtual Private Network ) is a private connection through the public network (in this case the internet). Here are two words that we can underline that is:
- Virtual network, which means that the network is only virtual. There is no real network connection between the 2 points that will be related.
- Private, a network that is formed private where not everyone can access it. The data that is transmitted is encrypted so that it remains confidential even through the public network.
With this VPN we seem to create a network within the network or commonly called tunnel (tunnel). Tunneling is a way of creating private lines using third-party infrastructure. VPN uses one of three existing tunneling technologies: PPTP, L2TP, and the latest standards, Internet Protocol Security (commonly abbreviated as IPSec). VPN is a combination of tunneling and encryption technology.

PHP Function: Built-in Functions part 11
Session-Handling Functions
Session handling is a way of holding on to data as a user navigates your Web Site. Data can be variables or entire objects.
session_start()
The session_start() function starts a session if one has not already been started, or it resumes a session if the session ID is present for the user. This function takes no arguments and is called simply by placing the following at the beginning of your code:
Java:The Pitfalls of Inheritance Part-1
In Object Oriented Programming, inheritance is a commonly used mechanism to model the relationship between two types. However, modelling such relationship without realizing the impact on the overall application may result in unexpected problems. In this article, I will try to present some internal details of inheritance mechanism based on the Java language and highlight some of the problems that a developers should be aware of when using inheritance of types.