1. Data types in java.
2. Decision making statements
3. What are different types of IO streams? Explain with the help of examples.
4. Exception handling
5. Build an application that allows an operator to book the tickets for his selected movie, book his snacks and print the bill amount. The bill can be for matted to display the customer’s details and the net amount.
CONTENTS
TOPIC
PAGE NO.
INTRODUCTION
1
DATA TYPES IN JAVA
2-14
DECISION MAKING STATEMENTS
15-20
IO STREAMS IN JAVA
21-26
EXCEPTION HANDLING
27-31
PROGRAM (MOVIE TICKETING SYSTEM
32-47
BIBLIOGRAPHY
48
Introduction
Java is a general-purpose, concurrent, class-based, object-oriented computer programming language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. Java applications are typically compiled to bytecode (class file) that can run on any Java virtual machine (JVM) regardless of computer architecture. Java is, as of 2012, one of the most popular programming languages in use, particularly for client-server web applications, with a reported 9 million developers. Java was originally developed by James Gosling at Sun Microsystems (which has since merged into Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++, but it has fewer low-level facilities than either of them.
The original and reference implementation Java compilers, virtual machines, and class libraries were developed by Sun from 1991 and first released in 1995. As of May 2007, in compliance with the specifications of the Java Community Process, Sun relicensed most of its Java technologies under the GNU General Public License. Others have also developed alternative implementations of these