Data hiding concept, private data member of a Java class described with the help of a Java array, where an array declared as private member inside a Java class. So you cannot access the array elements inside Java class directly. You can insert integers in the array, delete array elements (which are integers) and get element from the array in Java with the help of getter and setter methods. Deletion of array element needs shifting of elements because it creates a vacancy inside array. A practical example of data hiding w.r.t array as private data member inside a Java class. Continue reading “Array as private data member inside a Java class, access by getter and setter methods”
Using jQuery AJAX and PHP how to fetch data from a MySQL database table as JSON format. The PHP script retrieves the MySQL tables records and send to client side jQuery Script as JSON string format. This tutorial also explains how to retrieve data from MySQL database in JSON format using PHP, AJAX & jQuery and how to convert MySQL records or rows in JSON format using PHP and jQuery. Continue reading “Using jQuery AJAX and PHP how to fetch MySQL table records array as JSON format”
How to apply clipping mask in Adobe ( ai ) illustrator. According to Adobe – CLIPPING MASK is a group of layers to which a mask is applied”. Suppose you have a shape in the top layer and you have placed an image below it. Then after applying clipping mask you shall be able to see the image only through the boundaries of shape. Other portion of the image should remain hidden. The bottom – most layer defines the visible boundaries of the entire group of layers of shape, images. But description does not clarify a clipping mask. You have to see the result. Continue reading “How to create clipping mask & opacity mask in Adobe illustrator”
In this tutorial the use of reflection tool in Adobe illustrator for text mirroring has been shown. This is a very simple tutorial on reflection tool (Adobe Ai). Just learn – “how to create text mirroring in Adobe illustrator (Ai)”. Continue reading “Reflect tool in Adobe illustrator for text mirroring effect”
This is a tutorial on Stroke Panel of Adobe illustrator. By the stroke panel you can change the thickness of a line, rectangle or circular shape drawn. Even you can make the corners rounded, you can convert a line to an arrow, double headed arrow and more. This tutorial written by Adobe illustrator training course guide Mr. B Choudhury. Continue reading “Stroke Panel in Adobe illustrator – Cap, Corner and Align Stroke”
Learn what are Java interfaces, and how multiple inheritance is incorporated in Java with the help of Java interfaces.
Learn Java multithreading and concurrency. Learn about Java thread states and different steps of multithreading with simple examples.
Learn about classes and objects in C++. Whats are data members and function members or methods in C++. How to define or how to create a class in C++. How to define functions as members in a C++ class. How to create objects and assign data members of a C++ class. Access the properties / methods of a C++ class from the main() function body. Continue reading “Classes and objects in C++, a beginners tutorial”
In the following PHP program I have accessed the MySQL database (using PHP’s object oriented mysqli extension ) by a PHP function generated by me, and fetched a “MySQL database table” column value (Departments column) based on some key value in another column ( Serial ). So in a nutshell this program shows how – based on “primary key column value” of a “particular row” of a “single database table”, pick up “another column value” of that row in the same table. Continue reading “PHP mysqli code example to search MySQL database”