ESE Program List of Java
ESE Program List of Java
Assign and print the roll number, phone number and address of two
students having names "Sam" and "John" respectively by creating
two objects of class 'Student'.
Implement a java program: create the class Student. Initialize the data for
3 Students using the parametrized constructor. Use Display method to
display information of all 3 Students.
Implement a java program to demonstrate the method overloading
concept. Use Class CalculateArea. And find the area of Triangle and
Square.
Implement the java program for creating the Vector , perform the following operation
- Add elements in Vector
- find the size of Vector
- Sort the Elements in Vector
- Update the Element in Vector
- Find position of any particular element in Vector
-Check presence of any element in the Vector
-Remove element from Vector
Java Program for demonstrating StringBuffer class and its methods (All).
Java Program which handles divide by zero situation using try and catch
Implement Java program which creates College class as a main class and
create two other classes such as faculty and student. Read the details of
faculty and students in main, pass these details to method defined in
respective class, print those details. Demonstrate initialization of object
for 2 faculties and 2 students using getdata () and putdata() methods.
Implement a java program : create the class Student. Initialize the data for
3 Students using the parametrized constructor. Use Display method to
display information of all 3 Students.
Implement a java program to demonstrate the method overloading
concept. Use Class CalculateArea. And Find the area of Triangle and
Square.
Implement the java Program for interface
Create the interface bank with interest_rate method.
Class SBI, UBI, PNB will implement the interface to calculate the interest rate on
principle amt.
Assume the interest_rate for different banks are
SBI: 9.15 % , UBI : 9.7 % PNB: 9 %
Implement the java program for
Create the two interfaces : Motorbike and Cycle. Motorbike interface consists of the
attribute speed. The method is totalDistance(). Cycle interface consists of the attribute
distance() and the method speed().
Calculate the total distance and average Speed using following Formulas:
totalDistance = speed*distance;
avgSpeed=totalDistance/speed;