/TNS-JAVA

This repo is for TNS JAVA submissions

Primary LanguageJava

Placement Training Java Programs

This repository contains a collection of Java programs designed to assist you in your placement training. These programs cover various topics and concepts that are commonly encountered during technical interviews.

Program List

  1. Even Numbers: Find and display even numbers between 1 and 20.
  2. Largest Number: Compare and determine the largest number between two user inputs using ternary operators.
  3. Grade Calculator: Calculate the sum, average, and grade based on three user input values.
  4. Student Information: Create a Student object to store and display student data using a separate Student1 class.
  5. ATM: Simulate an ATM machine with withdrawal and deposit functionality, maintaining a minimum balance of 1000.
  6. Employee Information: Use a constructor to display the information of three employees.
  7. EmployeeManager: Demonstrates an employee and manager hierarchy in Java.
  8. MyClass: Represents a student's enrollment number and result.
  9. Execution: Demonstrates the usage of the MyClass class.
  10. MainInheritence: Demonstrates inheritance in Java.
  11. FinalStatic: Demonstrates the usage of static variables and methods in Java.
  12. AnimalSounds: Demonstrates the usage of abstract classes and subclasses in Java.
  13. ProductSold: Tests the Product class by creating instances and simulating product sales.
  14. Package: Tests the package and import tags.
  15. BufferedReader: Understanding buffered reader concept using keyboard input.
  16. ArrayPresentation: presentation on 2D and Jagged array.
  17. ShapeInterface: Java program with interface Shape and classes Rectangle RectangleInterface, Circle CircleInterface, and Triangle TriangleInterface implementing getArea() method. .

Usage

You can clone this repository to access the Java programs and use them for your placement training. Each program is contained in a separate file with a meaningful name indicating its purpose.

To run the programs, you can use any Java development environment or IDE, such as Eclipse or IntelliJ IDEA. Simply open the desired program file, compile it, and run the resulting bytecode.

Contributing

If you have additional Java programs that would be beneficial for placement training and would like to contribute, you are welcome to submit a pull request. Please ensure that the programs follow good coding practices and include proper documentation.

If you find any issues or have suggestions for improvement, please feel free to open an issue in the repository.

License

This repository is licensed under the MIT License. You are free to use, modify, and distribute the code in this repository for educational and non-commercial purposes.

Disclaimer

These Java programs are provided as a learning resource and should not be used to violate any rules, regulations, or guidelines set by your educational institution or prospective employers.

Always strive to understand the concepts behind the programs and avoid relying solely on them for placement training. Remember to practice and enhance your problem-solving skills by attempting different programming challenges and real-world scenarios.

Happy coding and best of luck with your placement training!