Java Variable A variable is a named memory location where we can store different types of values. The value of a variable may be changed...
Post Page Advertisement [Top]
How to set time while connecting using socket with provided IP Address /* Import these files: import java.net.InetSocketAddre...
How to get all connected local ip address. String myIP=Inet4Address.getLocalHost().getHostAddress(); for( int i=1;i<=255;i++) ...
How to convert a character to string. I n Java, character is a data type which use char keyword to make a variable char type, but this ch...
How to convert String to integer or integer to String in Java In Java, String is a predefined class in Java which can hold String Value(...
In Viusal Basic 6.0 , there is control named "Winsock" which is used to easily create connection with server or opens connection...
Exceptions are special types of error which occurred at run time and leads to abnormal termination of the program. These exceptions are h...
For MySQL: SELECT * FROM table_name ORDER BY RAND() LIMIT 1 You can also use below code to make query faster: SELECT * FROM table_nam...
For implementing object oriented model, Java provide three mechanism : Encapsulation Inheritance Polymorphism Abstraction 1. Enca...
Local Class and Anonymous Class Local Class : If we declare an inner class within a method such class is known as local class. Use it if...
How to display custom text, html and local store images on Andoid Webview public void viewData() { WebView w=(WebView)findViewByI...
A class have two or more method with same name but different parameter. This is called overloading method in Java. Example: class Overl...
Java Thread and Runnable Runnable ( java.lang.Runnable ): Runnable is basically a interface which is used to create a task(runnable code...
Thread in Java What is Thread? T hread is a class, an independent path of execution within a program. A thread execute the provided co...
Basic step for installing and setting up environment. Download Latest Version of Java From Here: JAvA WEBSITE. Install the Java. Setti...
How to create object in Java & what its benifit. As i said in early lesson that objects is a instance of a class. Each instance have ...
JAVA Classes, Java Objects and its Instance Java Classes In Java, codes are written under a body called class. Example: a class with na...
Firstly read out few basic rules for java: A class name should be started with a capital letter. Example: HelloWorld . A variable s...
Java Basics Java is object oriented programming language, which is easy to learn, compile and run on any Operating System. Java Programs ...
Making login page with PHP and MYSQL Optional (if u dont create any table for login purpose) Create a table "users" with fiel...
Winsock is a socket component which is used for making a tcp connection as well as udp connection. This socket is used in many purpose......
You can use this function for encrypt or decrypt string... One time it encrypt and another time it decrypt. Private Function encdec(str...
Easy to learn languages The first entries I want to mention are really simple. In fact they are not really programming languages a...
Let's Start Step1: Open Visual Basic 6.0 Step2: Choose "Standard Exe" and click Open Step3: Choose Command Button fro...
Making a simple text or data encryption and decryption function. An encryption and decryption function. Private Function Enc(eStr as ...
There is a very easy way of getting all folders and files from a folder, drive including hidden and system files/folders.. Step1: Create ...
POST is basically used for sending form data to server and recive output from the server. jQuery $.post() function sends and request data ...
To set attribute use this: Private Declare Function SetFileAttributes Lib "kernel32" Alias _ "SetFileAttributesA&...
Here is an idea to detect Drive Type in VB6.... Goto Project Menu -> References Tick on Windows Script Host Modal Object (scroll at l...
GET is basically used for getting your data from the server. jQuery $.get() function request data from the server using HTTP GET. Syntax...
This may be the best way for checking if a file exists or not. #include <conio.h> #include <stdio.h> #include <io.h> i...
Project For Computer Science Students on Internet Security. 1. Introduction Internet security is a branch of computer security specifi...
Variables are those words whose value varies and use to store constants like 5,6,"hello" etc.. In PHP variabes are declared by $ ...
PHP SYNTAX PHP script can be placed everywhere in the php file. PHP script starts with <?php and ends with ?> . Example:
PHP is a server side scripting language, and is a powerful tool for making dynamic and interactive Web pages quickly.PHP is a widely-us...
Learn C Programming in 7 Days only Lets Start...... First we have to know what is C?? Ans: C is a programming language developed b...