Skip to content

positioning the basic parts of a web page

this post is about positioning and  behavior of the div after we put some elements there, texts or other objects that would alter the size of the div.

Read more…


load a page after event.preventDefault()

preventDefault is used to disable the default action of an event. like cut copy paste submit clicking a link, if preventDefault is declared, the event attached wouldn’t work.
Read more…


Polymorphism is the ability to redefine methods for derived classes. For example, given a base class shape, polymorphism enables the programmer to define different area methods for any number of derived classes, such as circles, rectangles and triangles. No matter what shape an object is, applying the area method to it will return the correct results. Polymorphism is considered to be a requirement of any true object-oriented programming language (OOPL) ( ref ). Its like subclasses and its superclasses using each other.

Read more…

Subclass and Superclass

An ArithmeticException, which is a class, is a subclass or like a child of Exception, which is also a class. Exception then is the superclass of ArithmeticException.

Read more…

Accepting input in Java: Scanner

A simple text scanner which can parse primitive types and strings using regular expressions.

Scanner breaks its input into tokens using a delimiter pattern, which by default matches whitespace. The resulting tokens may then be converted into values of different types using the various next methods (ref).

For example, this code allows a user to read a number from

     Scanner sc = new Scanner(;
     int i = sc.nextInt();

Read more…

Enable IDM to download videos and mp3 in youtube

today, i tried downloading videos from extensions, internet download manager, and other downloaders, but was not successful, youtube said its there policy. but still, i found a way to download it in IDM with the help of Google. Below are the steps ::

Read more…

Connect to MySQL Database

To make connection from php to MySQL, you need to declare mysql functions to connect to the server with password and user. also needed is which database to connect to.

Read more…

Children's Book Reviews

Malav Shah

official Web Site

My Road to Programming

The journey of how I taught myself to program.


Look at what's brewing up guys! we all are work in progress. So don't meander, lets micromesh everything and have candid conversation about every problem related to C, C++ and JAVA. We can rejuvenate the crinkled faces.


A simple guide to programming...


Information Techonology

Rahul's Work

My Work Tips and Tutorial on Various Tech.

Turnip Farmers

Kingdom Scans


Technology news, trends and analysis covering mobile, big data, cloud, science, energy and media

The Neighborhood

is under renovation in preparation for our 6th Season


News About Tech, Money and Innovation


The Diary of a Retiree

50 Year Project

My challenge to visit 192 countries, read 1,001 books, and watch the top 100 movies

[BTW] : Ben Trube, Writer

Writer, Programmer, Singer

My Arch Walkthrough

Arch linux made easy

Don Charisma

because anything is possible with Charisma

SutoCom Solutions

Success & Satisfaction with the Cloud