Java Classes and Objects

Class A class forms the basis for object-oriented programming. It defines the shape and nature of the object. Any concept that we want to implement in oop’s must be encapsulated within a class. A class is a template for an object and an object is an instance for a class. In another words class is … Read more

Linux and Unix head command tutorial with examples

Command head displays the beginning/top of the file at the terminal. When “head” command is used without any option it will display the beginning/top ten lines of the file. Syntax:

Example: Suppose we have a file Employee.txt as shown below and we want to see the beginning/top of this file by default it will … Read more

Java Keywords

Java contains 53 reserved words out of which 50 are keywords. Out of 50, only 48 keywords are used and two keywords const and goto are not in use, and 3 are literals values true, false, and null. These reserved words can not be used as identifiers. Java Keywords    The keyword is a reserved word that … Read more

PHP Creating Image

In PHP there have many predefined function which helps to create background image and write text in the image. Like create CAPTCHA image for website.  Program:

Output Explanation: Firstly if user write any image code in PHP script need to set content-type:image/jpeg. Because by default PHP script content type is text/html. Browser only read … Read more

CSS 3D Transforms

CSS3 provides the facility to change shape, size, and position of the element with the help of transform property. There are two types of transformations namely, 2D and 3D. Transformation allows to rotate, translate, shift and scale elements. In this, we will learn about only 3D transformation. In the 3D transformation, the effects are produced … Read more

CSS 2D Transforms

CSS3 provides the facility to change shape, size, and position of the element with the help of transform property. There are two types of transformations namely, 2D and 3D. Transformation allows to rotate, translate, scale, and skew elements. In this, we will learn about only 2D transformation. In the 2D transformation, the effects are produced … Read more

CSS Buttons

Buttons give a feel of automation to the websites. A button pressed here can redirect you to another page, or may bring something new to current page. CSS has a lot to style the buttons using its numerous properties. The basic outlook of a button is a standard rectangular  image with some instructive text written … Read more

CSS Aural Style Sheets

A website that reads out the content to you is something very real and doable in today’s time. Aural Style Sheets are the special type of CSS style sheets that can help the user listen to the website information instead of them reading it on their own. This is possible by two key features: Speech … Read more

CSS Display

When it comes to layout, display property holds a crucial place in CSS. If break it to the bare essentials, display property simply specifies how the element will be displayed. The default value for this property varies (either block or inline) element to element. We will now take a look at the possible values for … Read more

CSS Grid Layout

The Grid Layout in CSS provides us a grid or table like page layout with rows and columns. The layout is very handy when you want to avoid positioning and floats. Unlike, the website layout, the grid layout doesn’t have a fixed number of sections and is flexible as per the requirements. The general layout … Read more