RSS
Showing posts with label Web System & Technology. Show all posts
Showing posts with label Web System & Technology. Show all posts

ATM System Scenario


  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

JQuery Slides



  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Web systems Exercise

Last Quiz of WST (29-oct)

1)Write HTML and CSS code for this 

2)Do following using JavaScript :

  • Change text
  • Change color
  • Change class attributes



  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Page Layout in HTML




  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

WST JavaScript & HTML Examples & Slides



  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Web System & Technologies | Slides

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Java Tutorials by Sir Waqas Ali


  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Java The Complete Reference by Herbert Schildt Ninth Edition




  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Course Outline | WebSystem & Technology




  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Rules to define Idnetifier in Java

Identifiers are the names of variables, methods, classes, packages and interfaces. Identifiers must be composed of letters, numbers, the underscore _ and the dollar sign $

Some Rules of Identifier Naming Convention in Java:
  • Variable names are case-sensitive.
  • A variable’s name can be any legal identifier.
  • It can contain Unicode letter,Digits and Two Special Characters such as Underscore and dollar Sign.
  • Length of Variable name can be any number.
  • Its necessary to use Alphabet at the start (however we can use underscore , but do not use it )
  • Some auto generated variables may contain ‘$‘ sign. But try to avoid using Dollar Sign.
  • White space is not permitted.
  • Special Characters are not allowed.
  • Digit at start is not allowed
  • Subsequent characters may be letters, digits, dollar signs, or underscore characters.
  • Variable name must not be a keyword or reserved word.

The following are not legal variable names:

My Variable // Contains a space
9pins // Begins with a digit
a+c // The plus sign is not an alphanumeric character
testing1-2-3 // The hyphen is not an alphanumeric character
O'Reilly // Apostrophe is not an alphanumeric character
OReilly_&_Associates // ampersand is not an alphanumeric character

Some Standard Conventions Used :

1. Never Use Dollar Or Underscore as First Letter

  • Dollar Sign and Underscore as First Character in Variable name is allowed but still its not good programming Style to use it as First Character.
  • Generally we use Underscore in “Constant Value” variable.
static final int TOTAL_NUM = 10;
static final int MAX_COUNT = 20;
*Final is nothing but constant value in Java (In c we use const)

2. Capitalization of First Character of Second Word

  • If variable name contain two words then write first letter of second word in Capital Case.
  • If variable name contain single word then write that word in small case.

Example : Multiple Words in Variable Name

sumOfNumber
firstNumber
skinColor

Example : Single Word in Variable Name

sum
first
last





  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Data types in Java - Table

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Primitive/Built in Data Types in Java:

Posted by : Abdul Razzaq

Primitive/Built in Data Types in Java:

Variables are nothing but reserved memory locations to store values. This means that

when you create a variable you reserve some space in memory.

Based on the data type of a variable, the operating system allocates memory and

decides what can be stored in the reserved memory. Therefore, by assigning different

data types to variables, you can store integers, decimals, or characters in these

variables.

There are two data types available in Java:

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS
X-Steel Pointer