Tuesday 20 August 2013

LESSON: 3 BEGINNERS PROGRAMING IN JAVA

SO TODAY I WILL BEGIN WITH PROGRAMMING.... THE FIRST STEPS TO IT....

FIRSTLY: Concept of Datatypes in Java

Each individual character in a Java program is termed as a token.It is a fundamental unit of Java Program. It may be related to the cell in human body.

TOKENS ARE OF 6 TYPES:
1. Literals
2. Identifiers
3. Assignments
4. Punctuators
5. Separators
6. Operators

LITERALS
1. String Literals(e.g. "Romit Ghosh")
2. Real Literals (e.g. 2.6,24.89.-5.45,1.0E-03)
3. Character Literals (e.g. 'A','d','3')
4. Boolean Literals (e.g. true or false)
5. Null Literals
6. Integer Literals (e.g. 14,99,-123,-435)

NOW WE SHALL GO FOR DATA TYPES
                                                                                           
                                           
PRIMITIVE DATATYPE

Numeric Types
1. Integer
2. Floating Numbers

Non Numeric Types
1. Character
2. Boolean
3. String

NON-PRIMITIVE DATA TYPES

1. Classes
2. Arrays
3. Interface
4.String
------------------------------------------------------------------------------------------------------------
In Integers there are: byte, int, short, long
In Floating Numbers there are: float, double
In Character: char
In Boolean: boolean
In String: string
------------------------------------------------------------------------------------------------------------
SO, NOW YOU SHOULD GET INTRODUCE TO JAVA CODING

public class zebra
{
public static void main (String args[])
{
System.out.println("HELLO WORLD!!!");
}

}

Q1/ Why is public used?
Ans: To make the class public , usable and accessible by all.
Q2/ What are classes?
Ans: A class is a blue print from which individual objects are created.

Q3/ What is the use of static?
Ans: We use static to make a function the first to get compiled.

Q4/ What we use void?
Ans: Void is a return type which is used when we have to return nothing.

Q5/ What we do to print a statement?
Ans: System.out.print and to print in next line System.out.println
------------------------------------------------------------------------------------------------------------

TO KNOW MORE STAY TUNED TO : http://romitcooltricks.blogspot.com/

Monday 19 August 2013

LESSON: 2 IN JAVA

So, lets continue with it guys.....

THE TOPIC NOW IS WHAT JAVA IS ???

Java is a middle level language. Middle level language is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an middle-level language, as it comprises a combination of both high-level and low-level language features.
C++ is one of the most popular middle level languages(along with java) and its application domains include systems software (such as Microsoft Windows), application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games.

And it is Object Oriented Programming.....

OBJECT ORIENTED PROGRAMMING (OOP)

Object Oriented programming is an approach to standardize the programs by creating partitioned memory area for both data and function. Object-oriented programming (OOP) is a programming paradigm that represents concepts as "objects" that have data fields (attributes that describe the object) and associated procedures known as methods. Objects, which are usually instances of classes, are used to interact with one another to design applications and computer programs.Objective-C, Smalltalk, Java and C# are examples of object-oriented programming languages.




HISTORY OF JAVA

To know shortly about the history of java, it was invented by James A. Gosling, a famous software developer. James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991.[12] Java was originally designed for interactive television, but it was too advanced for the digital cable television industry at the time.[13] The language was initially called Oak after an oak tree that stood outside Gosling's office; it went by the name Green later, and was later renamed Java, from Java coffee, said to be consumed in large quantities by the language's creators.

------------------------------------------------------------------------------------------------------------
FROM THE NEXT LESSON WE WILL PROCEED STRAIGHT AWAY TO PROGRAMS
For more stay tuned to:  http://romitcooltricks.blogspot.in





LESSON:1 ON JAVA

FROM TODAY I AM GOING TO GIVE YOU A GOOD FOUNDATION IN JAVA



So lets start with it......

FIRSTLY : YOU MUST KNOW WHAT IS A  LANGUAGE???

A programming language is a formal language designed to communicate instructions to a machine, particularly to a computer. Programming language can be used to create programs, that control the behavior of  a machine and/or to express algorithms precisely.

The earliest programming languages preceded the invention of the computer, and were used to direct the behavior of machines such as Jacquard looms and player pianos.[citation needed] Thousands of different programming languages have been created, mainly in the computer field, and still many are being created every year. Most programming languages describe computation in an imperative style, i.e., as a sequence of commands, although some languages, such as those that support functional programming or logic programming, use alternative forms of description.

SO NOW I WILL TELL YOU THE DIFFERENT TYPES OF LANGUAGE:

1. Low-level programming language.
2.High-level programming language.
And then comes the 3rd and the fore most i.e. middle level programming language. To, which Java itself belongs to......


SO NOW I WILL TELL YOU ABOUT HIGH LEVEL LANGUAGES:

These are procedure oriented languages. High level languages provide easy approach to the users in developing their logic to solve any problem with the help of computer. These languages are machine independent. We can develop and understand program logic without having much knowledge about computers architecture. BASIC, COBOL, FORTRAN, C, PYTHON e.t.c. are common high level programming languages.


------------------------------------------------------------------------------------------------------------

ABOUT MIDDLE LEVEL LANGUAGE IN THE NEXT LESSON GUYS: Stay tuned to  http://romitcooltricks.blogspot.com/...

Sunday 11 August 2013

HOW TO MAKE COMPUTER SPEAK WHAT YOU TYPE <))))

STEP 1: Open Notepad
STEP 2: Paste the thing written below:

Dim Message, Speak
          Message=InputBox("Enter text","Speak")
          Set Speak=CreateObject("sapi.spvoice")
          Speak.Speak Message

STEP 3:Save it as text to audio.vbs or any name but .vbs must  be included at the end.....

THEN SEE THE MAGIC!!!!!!

Monday 5 August 2013

NEW TRICK ON FB ACCOUNT HACKING!!

 FROM a few days I am regularly getting many requests from people of  letting them know how to hack.. Or rather some hacking tricks for hacking Facebook accounts.


    There are various methods to hack Facebook account password like Key loggers  Phishing websites etc.. whereas brute forcing  dictionary attacks, DDOS attack etc will not work directly due account lockout feature. Today in this post I am going to share a very effective way to hack facebook account I named it Hacking with Trusted Friends.

NOW THE TIME IS TO TELL YOU THE STEPS:


  • Firstly get to know your friends email id.... by going to About
  • Then paste his/her email id in the username box and click on Forgot your password.

  • If everything goes right then you will see the profile pic of the person  and now click on No longer have access to these. 


  • Give a cell no. which you have never entered in facebook.
  • Then there would come a secret question, if you know it well and good, else you have to enter wrong answer only 3 times.
  • Then it would come a dialog box of  Choose a new password......



HOPE YOU GUYS DON"T DO ANY WRONG THINGS WITH IT!!!!

HIDDEN STAR WARS MOVIE IN WINDOWS XP

Star Wars logo
Microsoft has a hidden version of star wars done entirely with ASCII characters... 

But you must be connected to internet to view it.

STEP 1: Click on Start.
STEP 2: Click on Run.
STEP 3: Paste what is written below in the space: 
telnet towel.blinkenlights.nl
STEP 4: Press Enter.

Sunday 4 August 2013

THE MATRIX TRICK

IF YOU ARE A MATRIX FAN!!!!
TRY IT OUT!!!
Step 1: Copy this code in notepad
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

Step 2: Save as matrix.bat
Step 3: Double click the file and visualize the matrix