Professional Documents
Culture Documents
com
INTRODUCTION TO JAVA
Java is open source. Initially called OAK but was renamed JAVA in 1995. Java is based on OOPS concept which consist of three concepts:-
Encapsulation : The mechanism that binds together code and the data it manipulates Inheritance : one object acquires the properties of another object.
JAVA FEATURES
Compiled and Interpreted : Java as two stage system. Platform-Independent and Portable : Java programs can be easily moved from one computer system to another ,anywhere and anytime.
Robust and Secure :It has many safeguards to ensure reliable code. It has strict compile time and run time checking for data types. Distributed : for creating application on network. It has the ability to share both data and programs. Simple, Small and Familiar : Multithreading : Handling multiple tasks simultaneously.
APPLET PROGRAMMING
An applet is a Java program that executes on a web page. Unlike an application execution of an applet does not begin at main ( ). Instead it uses some predefined methods, like init( ), start( ) etc. having a life cycle are used to initiate its execution Execution of an applet is done through either Java-compatible web browser or an appletviewer
Use of Applet
Animated Graphics. Video Games. Present database result in a more interactive fashion. Create user interface in a distributed environment.
JDBC provides a set of classes and interfaces that can be used by developer to write database application. By using JDBC we can connect our database to the java files and user will be able to interact with database.
Types of drivers
JDBC-ODBC Bridge plus ODBC driver Native API purely Java technologyenabled driver Pure Java Driver for Database Middleware Direct-to-Database Pure Java Driver
This project involves, maintaining question database, student logins assigning test to students, and generating reports of student performance.
This project keeps track of the individual students tests and the overall performance of the student.
Login Page
Starting page
Status of student
Result
Correct answers