logo name   +91-76890324
google facebook

B.Tech. Engineering Students Exam  Papers
B.Tech. 1st Year
B.Tech. 2nd Year B.Tech. 3rd Year B.Tech. 4th Year
C.S.E. Department's Topics
Topics We Cover
* JAVA Basics
* JAVA Advance
* Flooding
* Cloud Computing
* Modular exponentiation
* Striping techniques
* push and pull subscription
* Threats and Attacks
* AC Circuit Analysis
*  BJT
* Integrated circuits
* Fourier Transforms
* Software engineering
* Microprocessors & microcontrollers

* Classification of IC's
* Application of IC's
* Hacking
* Networking
* Computer Architechture
* Number Systems And Codes

* Boolean Algebra & Simplification;

* Combinational Logic Circuits

* Sequential Logic Circuits

* Hardware Description Language

* Programming In C

* Programming In C+

* Programming In C++

* Java Introduction

* Multithreading

* Intel 8085 Architecture

 * Intel 8086/8088 Architecture

* I/O And Memory Interfacing Using 8085/8086

* Communication And Bus Interfacing With 8085/8086

* Microcontrollers 8051

 * Uml And The Unified Process

* Object Oriented Analysis

 * Object Oriented Design Workflow

* Testing And Management Issues

* Programming In C++

* Programming In Java

* Semiconductor Diodes

* Special Purpose Diodes

* Bipolar Transistors

* Field-Effect Transistors

* Integrated Circuit Fabrication

* Linear Data Structures

 * Trees

* Back Tracking

 * Data Communications

* Data Link Layer

* Network Layer

* Transport Layer

 * Application Layer

* Basic Structure Of Computers

 * Basic Processing Unit

* Memory System

* I/O Organization

* Operating Systems Intro

* Processes

* Concurrency And Scheduling

* Memory

* Input /Output And File Systems

* Finite Automata

* Pushdown Automata

* Turing Machine

* Computational Complexity

* Relational Data Model


 * Software Process Models

* Analysis Modelling

* Assemblers & Macros

* Linkers & Loaders

* Syntax Analysis – Parsing

* Code Optimization

* Scripting Languages

* Server Side Programming

* Servelets And Jsp

 * Image Enhancement

* Image Restoration

Part-1              JAVA Basics Notes Part-2
Let’s start by creating a simple Java application: the classic Hello World example . As with all programming languages, your Java source files are created in a plain text editor, or in an editor that can save files in plain ASCII without any formatting characters. On Unix, emacs, ped, or vi will work; on Windows, Notepad or DOS Edit are both text editors.Be careful that all the parentheses, braces, and quotes are there.
Your 1st JAVA Programe
class HelloWorld {
 public static void main (String args[]) {
System.out.println(“Hello World!”);
This program has two main parts:
 ■ All the program is enclosed in a class definition—here, a class called HelloWorld.
 ■ The body of the program (here, just the one line) is contained in a routine called main(). In Java applications, as in a C or C++ program, main() is the first routine that is run when the program is executed
Once you finish typing the program, save the file. Conventionally, Java source files are named the same name as the class they define, with an extension of
 This file should therefore be called
 Now, let’s compile the source file using the Java compiler. In Sun’s JDK, the Java compiler is called javac. To compile your Java program, Make sure the javac program is in your execution path and type javac followed by the name of your source file.
The compiler should compile the file without any errors. If you get errors, go back and make sure that you’ve typed the program exactly as it appears

Creating a Java Applet
Creating applets is different from creating a simple application, because Java applets run and are displayed inside a Web page with other page elements and as such have special rules for how they behave. Because of these special rules for applets in many cases (particularly the simple ones), creating an applet may be more complex than creating an application. For example, to do a simple Hello World applet, instead of merely being able to print a message, you have to create an applet to make space for your message and then use graphics operations to paint the message to the screen.
Now, open up that text editor and enter
 import java.awt.Graphics;
 class HelloWorldApplet extends java.applet.Applet {
 public void paint(Graphics g) {
 g.drawString(“Hello world!”, 5, 25);

Save that file inside your HTML directory. Just like with Java applications, give your file a name that has the same name as the class.Filename would be HelloWorldApplet.java
■ The import line at the top of the file is somewhat analogous to an #include statement in C; it enables this applet to interact with the JDK classes for creating applets and for drawing graphics on the screen.
■ The paint() method displays the content of the applet onto the screen. Here, the string Hello World gets drawn. Applets use several standard methods to take the place of main(), which include init() to initialize the applet, start() to start it running, and paint() to display it to the screen.
Again, just as for applications, you should now have a file called HelloWorldApplet.class in your HTML directory. To include an applet in a Web page, you refer to that applet in the HTML code for that Web page. Here, you create a very simple HTML file in the HTML directory

The HTML with the applet in it.
 <TITLE>Hello to Everyone!</TITLE>
 <P>My Java applet says:
 <APPLET CODE=”HelloWorldApplet.class” WIDTH=150 HEIGHT=25>

 You refer to an applet in your HTML files with the <APPLET> tag. You’ll learn more about
later on, but here are two things to note:
■ Use the CODE attribute to indicate the name of the class that contains your applet.
■ Use the WIDTH and HEIGHT attributes to indicate the size of the applet. The browser uses these values to know how big a chunk of space to leave for the applet on the page.Here, a box 150 pixels wide and 25 pixels high is created.Save the HTML file in your HTML directory, with a descriptive name (for example, you might name your HTML file the same name as your applet HellowWorldApplet.html
And now, you’re ready for the final test—actually viewing the result of your applet. To view the applet, you need one of the following:
■ A browser that supports Java applets, such as Netscape 2.0.
■ The appletviewer application, which is part of the JDK. The appletviewer is not a Web browser and won’t enable you to see the entire Web page, but it’s acceptable for testing to see how an applet will look and behave if there is nothing else available.
Previous Page<<<    More   >>> Next Page

Know it Social Address Office
* Home
* About Us
* Contact Us
* Site Map
* Facebook www.ishuchita.com
|  Whatsapp  |

|  e-mail  |
hit counter