Sunday, August 28, 2011

KIDDING ::: Is your computer “male” or “female”? :) :)



1. Open Notepad


2. Type the following line in notepad:
    CreateObject("SAPI.SpVoice").Speak"I love you"


3. Save file as computer_gender.vbs
4. Run the file. .


If you hear a male voice, your pc is a boy ;);)
If you hear a female voice, your pc is a girl :):)....    

N'Joy ...............

My Views On JAVA


JAVA BACKGROUND
·         Write once – Run Any Where
·         There are 4.5 Billion JVM-Enabled Devices are there.
·         One of the first projects developed using Java a personal hand-held remote control named Star 7.

JAVA IS NOT A PROGRAMMING LANGUAGE? IT’S A TECHNOLOGY.
What is Java Technology?
The Java technology is:
·         A programming language
·         A development environment
·         An application environment
·         A deployment environment

FEATURES OF JAVA
1. Java Virtual Machine (JVM)
·         JVM Runs Byte code which is nothing but the intermediate language.
·         provides the hardware platform specifications to which you compile all Java technology code.
2.  Bytecode (AN INTERMEDIATE LANGUAGE)
-a special machine language that can be understood by the Java Virtual Machine (JVM).
-independent of any particular computer hardware, so any computer with a Java interpreter can execute the compiled Java program, no matter what type of computer the program was compiled on.
3.  Garbage collection thread
·         Responsible for freeing any memory that can be freed. This happens automatically during the lifetime of the Java program.
·         Programmer is freed from the burden of having to deallocate that memory themselves.
4.  JRE
·         Runs code compiled for a JVM and performs :
o   Class loading (through the class loader)
o   code verification (through the bytecode verifier)
o   and finally code execution.

5.  Class Loader
·         Responsible for loading all classes needed for the Java program.
·         After loading all the classes, the memory layout of the executable is then determined. This adds protection against unauthorized access to restricted areas of the code since the memory layout is determined during runtime.
6.  Bytecode verifier
·         Tests the format of the code fragments and checks the code fragments for illegal code that can violate access rights to objects.
7. Java is Secured.
·         Because it uses sand box technology
o   Sand Box :   Sandbox is Norman's technology for detecting new unknown viruses and malware, using a safe virtual environment inside your computer, where the viruses are allowed to reveal themselves without damaging your system.    The memory requirement is about 4 MB pr. scanning thread

A DEVELOPMENT ENVIRONMENT
As a development environment, Java technology provides you with a large suite of tools:
·         A compiler (javac)
·         An interpreter (java)
·         A documentation generator (javadoc)
·         A class file packaging tooland so on...


SIMPLE JAVA PROGRAM.
WHAT IS SYSTEM.OUT.PRINTLN()?
·         System  class has field out of type PrintStream  class
·         println()  is a  method in PrintStream class.


COMMENTS IN JAVA
3 Types of comments in Java
·         C++ Style Comments  (//)
·         C Style Comments (/* */)
·         Special Javadoc Comments (/**    */)


COMMAND-LINE ARGUMENTS
·         A Java application can accept any number of arguments from the command-line.
·         The user enters command-line arguments when invoking the application and specifies them after the name of the class to run. 
o   public static void main( String[] args )

Friday, August 19, 2011

My Thought Process


  • Words are the most powerful forces in the world.  Positive words of love, hope and encouragement can lift a person to new heights and they attract more people towards you.
  • Develop success from failures.  Discouragement and failure are two of the surest stepping stones to success.  One secret of success in life is ready. 

Thursday, August 11, 2011

My Professional Web Services

Hey Friends! Here is the link , Just visit Once .... It's My Own Professional Web Service :


www.orangeapplabs.com

Tuesday, August 9, 2011

Solution for Error Message: "Registry has been disabled by your administrator"

Goto Run ->

Then Go to 
     User Configuration -> Administrative Templates -> System -> 

Then double Click On 


Solution for Error Message: "Task Manager has been disabled by your administrator"




"Just copy the following line and paste it in Run"

REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 0 /f




Wednesday, August 3, 2011