LAB MANUAL JAVA programming
LAB MANUAL JAVA programming
Course Title Lab-4: Java Programming Course Code MIT-282
LAB OBJECTIVE:
To introduce Java compiler and eclipse platform.
To make the student learn an object oriented way of solving problems using java.
To make the students to write programs using multithreading concepts and handle
exceptions.
To make the students to write programs that connects to a database and be able to
perform various operations.
To make the students to create the Graphical User Interface using Applets & AWT
Components.
LABORATORY OUTCOMES:
CO1: To teach the students basics of JAVA programs and its execution.
CO2: To create Java programs using inheritance and polymorphism and learn concepts like packages and interfaces.
CO3: To Implement error-handling techniques using exception handling and multithreading.
CO4: To make the students understand the util package and life cycle of the applets and its functionality.
CO5: To build files and establish database connection.
RECOMMENDED HARDWARE REQUIREMENT:
Intel based desktop PC with minimum of 2.6GHZ or faster processor
HDD 40GB free disk space.
RAM 256MB or Above
RECOMMENDED SOFTWARE REQUIREMENT:
Window XP/7 or above
Java enterprise edition 5 or above
SQL Server/My SQL
Web server
Eclipse IDE/JC Creator
INTRODUCITON
Java is a programming language which implements the concept of Object-Oriented Programming (OOPs). It inherits many features of the existing languages, C and C++, along with the addition of new features, making it a simple object-oriented language that is also easy to learn. Java can either have single or compound statements. Java has control statements that are broadly classified into three categories, namely conditional statements, iteration statements and jump statements. The main objective of object-oriented programming is to present various real-world objects as program elements. All concepts related to object-oriented programming, such as data abstraction, encapsulation, inheritance and polymorphism, are implemented with the help of classes. Working with actual data requires a mechanism that deals with a collection of data items. In Java, different data types like arrays and vectors are offered to handle such collections. This lab manual, Java Programming, contains several programs based on java concepts, such as JDBC, JApplet and AWT classes to provide the concept of programming. The manual provides all logical, mathematical and conceptual programs that can help to write programs very easily in java language
LIST OF EXPERIMENTS