API in forms-Free Django Tutorials

I hope you have checked our last post on forms in which we have covered on form.is_valid() to validate data. So continuing that in which we have entered some wrong data as following: data = {‘subject’: ”, ‘message’: ‘Hi there’, ‘sender’: ‘invalid email address’, ‘cc_myself’: True} f = ContactForm(data) f.is_valid() False So is_valid() is giving …

API in forms-Free Django Tutorials Read More »

Default Constructor in Java : Free Java Tutorial

A default constructor is automatically generated when the programmer has not specified any constructors explicitly. The compiler is responsible to generate default constructor but not JVM. Also, the compiler will generate default constructor if and only if the class does not contain a constructor. If there is at least one constructor inside the class, then …

Default Constructor in Java : Free Java Tutorial Read More »

Control Flow Mechanisms and Object Creation in Java : Free Java Tutorials

Instance Control Flow and Static Control Flow are both very important control mechanisms in Java. We know that first Static Control Flow takes place and only after an Object Creation, Instance Control Flow takes place. In this tutorial, we will understand how both control mechanisms work simultaneously through an example. // Main Class public class Demo …

Control Flow Mechanisms and Object Creation in Java : Free Java Tutorials Read More »

Two dimensional array in c# – Free C# Tutorials

In our previous blog we have discussed in detail about array declaration, creation and initialization and about one-dimensional arrays.Here in this blog we will discuss about Two dimensional array in c#. In one dimensional arrays we can store a list of values but there might occur a situation where we might have to store a …

Two dimensional array in c# – Free C# Tutorials Read More »