CJ Practical Syllabus (E-Next - In)
CJ Practical Syllabus (E-Next - In)
List of Practical
1. Java Basics
a. Write a Java program that takes a number as input and prints its multiplication table
upto 10.
b. Write a Java program to display the following pattern.
*****
****
***
**
*
c. Write a Java program to print the area and perimeter of a circle.
2. Use of Operators
a. Write a Java program to add two binary numbers.
b. Write a Java program to convert a decimal number to binary number and vice versa.
c. Write a Java program to reverse a string.
5. Inheritance
a. Write a java program to implement single level inheritance.
b. Write a java program to implement method overriding
c. Write a java program to implement multiple inheritance.
37
https://E-next.in
6. Packages and Arrays
a. Create a package, Add the necessary classes and import the package in java class.
b. Write a java program to add two matrices and print the resultant matrix.
c. Write a java program for multiplying two matrices and print the product for the
same.
8. File Handling
a. Write a java program to open a file and display the contents in the console
window.
b. Write a java program to copy the contents from one file to other file.
c. Write a java program to read the student data from user and store it in the file.
38
https://E-next.in