/Java-Programming-3rd-Sem

This repository contains all the Java Language Practicals done by me for the College in B.Sc. 3rd Semester.

Primary LanguageJava

πŸ’» Programming in Java

Java-Programming-3rd-Sem

πŸ”₯ Let's Connect! πŸ‘‡


       

πŸ“œList of Practical Questions:

Q1)   Write a Java program to find the sum of any number of integers entered as command line arguments.


Q2)   Write a Java program to find the factorial of an integer number.


Q3)   Write a Java program to convert a binary to its equivalent decimal number.


Q4)   Write a Java program to convert a decimal to its equivalent binary number.


Q5)   Write a Java program to check if a number is prime or not, by taking the number as input from the keyboard.


Q6)   Write a Java program to search a number from the given list.


Q7)   Write a Java program to sort a list of numbers in ascending and descending order.


Q8)   Write a Java program to show working of different functions of String and StringBuffer classes like setCharAt(), setLength(), append(), insert(), concat() and equals().


Q9)   Write a Java program to create a class Distance which consists of two coordinates as data members and a constructor which initializes the values of coordinates and a method which calculates the distance between two coordinates.


Q10)   Write a Java program to implement the concept of method overloading.


Q11)   Write a Java program to show the uses of static data members and static methods.


Q12)   Write a Java program to demonstrate the concept of boxing and unboxing.


Q13)   Write a Java program to implement the concept of multilevel inheritance.


Q14)   Write a Java program to create your own package and use it in your own program.


Q15)   Write a Java program to implement an interface in the program.


Q16)   Write a Java program to implement the concept of exception handling mechanism.


Q17)   Write a Java program to create your own exception and use it in the program.


Q18)   Write a Java program to read the contents of a file.


Q19)   Write a Java program to count the number of characters, words and lines in a file.


Q20)   Write a Java program to copy the contents of one file into another file.





πŸ€–Join Community!

- Stuck at any question?
- Confusions regarding any solution provided?
- Want to discuss something regarding above topics?
- Want to connect with other students?

  • join JOIN HERE !!

      discord  



πŸ”Connect With Me!

       

Give this Repository a STAR⭐

(If you find this repository helpful)
Thank You!!πŸ’

Made by Kaustav PurkayasthaπŸ˜‰