JAVA PROGRAMMING ( Tam)

210 Original price was: ₹210.147Current price is: ₹147.

1052234340

                                           JAVA PROGRAMMING

                                          Practicum 
                  Unit I INTRODUCTION TO JAVA
Introduction to OOPS: Paradigms of Programming Languages – Basic concepts
of Object-Oriented Programming –Benefits of OOPs –.– Java features – Java
Environment – JDK – API. Creating and Executing a Java program – Java
Tokens- Java Virtual Machine (JVM) –Command Line Arguments – Constants –
Variables – Data types – Scope of variables – Type casting – Operators.

Ex No 1: Write a java program to read the temperature in Celsius and convert into

Fahrenheit.

Ex No 2:Write a program to read 2 integers and find the largest number using

conditional operator.

Ex No 3: Write a Java program to implement command line arguments.

                Unit II CONTROL STRUCTURES, ARRAY AND STRING
Control structures: Decision making statements – looping statements – branching
statement – Arrays: One Dimensional Array –Multidimensional Array – String:
String Array – String Methods.

 

Ex No 4: Write a Java program to find the sum and average of your tenth standard
marks.
Ex No 5: Write a Java Program to sort 10 student names in alphabetical order
using bubble sort

       Unit III CLASS AND OBJECTS
Class and objects: Defining a class – Methods – Creating objects – Accessing
class members – Constructors – Method overloading – Static members –
Nesting of Methods – Final methods.

 

Ex No 6 : Write a Java program to collect student details using constructors.
Ex No 7:Write a Java program to calculate area of rectangle, triangle and square

using method overloading.

 

                                   UNIT IV INHERITANCE AND INTERFACE
Inheritance: Defining Inheritance –Types of Inheritances– Overriding Methods –
Final Variables and Methods – Abstract Class- Interfaces: Defining Interface –

 

Ex No 9: Write a Java program to create an interface Shape with the getArea()
method. Create three classes Rectangle, Circle, and Triangle that
implement the Shape interface. Implement the getArea() method for
each of the three classes.

 

 UNIT V EXCEPTION HANDLING AND SWING
Exception Handling: Basics of Exception Handling – try blocks – throwing an
exception – catching an exception – finally statement. Swing Components and
Event Handlers: – Event Handlers – Event Listeners –Input Events.

Ex No 10: Write a Java program to create a panel with three buttons, labeled
Red, Blue and Yellow, so that clicking each button results in the background color
changing to the appropriate color.

 

 

210 Original price was: ₹210.147Current price is: ₹147.