Northern India Engineering College
Department of Information Technology
Assignment-1
Class- T9,T10
Submission Date: 30 August 2016
Faculty Name: Ms. Priyanka
1. WAP to divide 2 numbers. Take input using scanner class.
2. WAP to divide 2 numbers. Take input through command line argument.
3. WAP to check whether a number is palindrome or not.
4. WAP to check whether a string is palindrome or not.
5. Calculate the memory space taken taken by a string while declaration.
6. WAP to use concept of classes and constructor (default and parametrized).
7. WAP to show hierarchical inheritance.
8. WAP to accept some command line arguments and count total number of valid and invalid
integer arguments.