Tuesday, May 8, 2012

What are the difference between String, StringBuffer, and StringBuilder?


  • The String class is immutable, however StringBuffer and StringBuilder classes are not immutable. There's no reason to use a StringBuffer or StringBuilder unless you're planing on changing the contents. 

The String class overrides the default equals() method, but StringBuffer and StringBuilder do not override the default equals() method in Object class. The equals method for class Object implements the most discriminating possible equivalence relation on objects; that is, for any non-null reference values x and y, this method returns true if and only if x and y refer to the same object (x == y has the value true). For example


Difference between String and StringBuffer/StringBuilder in Java


Well, the most important difference between String and StringBuffer/StringBuilder in java is that String object is immutable whereas StringBuffer/StringBuilder objects are mutable.



Difference Between Interface and Abstract Class

Interface: Java Interfaces are equivalent to protocols. They basically represent an agreed-upon behavior to facilitate interaction between unrelated objects. For example, the buttons on a Remote Controller form the interface for outside world to interact with TV. How this interface is implemented by different vendors is not specified and you’re hardly aware of or bothered about how these buttons have been implemented to work internally. Interface is plainly a contract between the producer and the consumer. How the producer implements the exposed behavior is normally not cared by the consumer
.




DOWNLOAD

Difference bet Implements and Extends Difference bet Implements and Extends Difference bet Implements and Extends


Implements and Extends are two keywords that provide a mechanism to inherit attributes and behavior to a class in Java programming language, they are used for two different purposes. Implements keyword is used for a class to implement a certain interface, while Extends keyword is used for a subclass to extend from a super class. When a class implements an interface, that class needs to implement all the methods defined in the interface, but when a subclass extends a super class, it may or may not override the methods included in the parent class. Finally, another key difference between Implements and Extends is that, a class can implement multiple interfaces but it can only extend from one super class in Java. In general, usage of Implements (interfaces) is considered more favorable compared to the usage of Extends (inheritance), for several reasons like higher flexibility and the ability to minimize coupling. Therefore in practice, programming to an interface is preferred over extending from base classes.


Diffrence between Pass By Reference and Pass By Value


Pass By Reference :
In Pass by reference address of the variable is passed to a function. Whatever changes made to the formal parameter will affect to the actual parameters
- Same memory location is used for both variables.(Formal and Actual)-
- it is useful when you required to return more then 1 values

Pass By Value:
- In this method value of the variable is passed. Changes made to formal will not affect the actual parameters.
- Different memory locations will be created for both variables.
- Here there will be temporary variable created in the function stack which does not affect the original variable.

define class,package,inheritance,interface,object


What Is an Object?
What Is Inheritance?
What Is class?
What Is Interface?




Constructors - super


Every object contains the instance variables of its class. What isn't so obvious is that every object also has all the instance variables of all super classes (parent class, grandparent class, etc). These super class variables must be initialized before the class's instances variables. 


Diffrence between == and equals


Many Java beginners find it difficult to differentiate between == operator and the “equals()” method when comparing String variables in Java. They assume that both operations perform the same function and either one can be used to compare two string variables. I have even seen many experienced programmers committing the mistake of using “==” to compare the values of two strings.
So what is the difference between “==” and “equals()” and what is the correct method of comparing two string variables?


full syallbauss Object-Oriented Programming ppt


Object Oriented Programming
using Java


Monday, May 7, 2012

GTU:4th Year Project Report



Hand Gesture Recognition Using
Computer Vision
Ray Lockton
Balliol College
Oxford University





Supervisor: Dr. A.W. Fitzgibbon
Department of Engineering Science
Raymond Lockton, Balliol College



DOWNLOAD

.NET Tutorial for Beginners


IT include following point to study:

1. Getting Ready .......................................................................................... 4

4 Installing the .NET Framework SDK.............................................................12
. Code Management.................................................................................. 43
.2 First VB.NET / C# program ........................................................................45
3.3 JIT (Just–in-Time Compiler) & Debugging....................................................51
Language Features of C# ....................................................................... 62


DOWNLOAD

Sunday, May 6, 2012

javascript programme pdf

What is javascript?.
How is it differ from programming Lang.?
function array
events example




javascript ppt


JavaScript Tutorial:

Introduction
database
basic syntex



php ppt


PHP Tutorial


it include following:

basic
database connectivity
synatex
program




Saturday, May 5, 2012

Computer Graphics c version

Cryptography and Network Security Principles and Practices, Fourth Edition By William Stallings



Publisher: Prentice Hall
Pub Date: November 16, 2005
Print ISBN-10: 0-13-187316-4
Print ISBN-13: 978-0-13-187316-2
eText ISBN-10: 0-13-187319-9
eText ISBN-13: 978-0-13-187319-3
Pages: 592

Software Engineering:MCGRAW hill publication




Software  Engineering
Best Practices
Lessons from Successful Projects
in the Top Companies
Capers Jones 




MCGRAW hill publication

A Concise Introduction to Software Engineering


Pankaj Jalote
A Concise Introduction to
Software Engineering



Undergraduate Topics in Computer Science Undergraduate Topics in Computer Science (UTiCS) delivers high-quality instructional content for undergraduates studying in all areas of computing and information science. From core foundational and theoreticalmaterial to final-year topics and applications, UTiCS books take a fresh, concise, and modern approach and are ideal for self-study or for a one- or two-semester course. The texts are all authored by established experts in their fields, reviewed by an international advisory board, and contain numerous examples and problems. Many include fully worked solutions.











DOWNLOAD