Northern India Engineering College Department of Information Technology Assignment-1
This document contains an assignment from Northern India Engineering College for an Information Technology class. It includes 8 programming problems - dividing numbers with scanner input and command line arguments, checking for palindrome numbers and strings, calculating string memory usage, using classes and constructors, demonstrating inheritance, and counting valid/invalid command line integer arguments. Students were to submit their solutions by August 30, 2016 to faculty member Ms. Priyanka.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
42 views1 page
Northern India Engineering College Department of Information Technology Assignment-1
This document contains an assignment from Northern India Engineering College for an Information Technology class. It includes 8 programming problems - dividing numbers with scanner input and command line arguments, checking for palindrome numbers and strings, calculating string memory usage, using classes and constructors, demonstrating inheritance, and counting valid/invalid command line integer arguments. Students were to submit their solutions by August 30, 2016 to faculty member 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.
Tshri Vile Parle Kelvani Mandal'S D. J. Sanghvi College of Engineering Department of Information Technology Semester: Iii Subject: Java Programming Lab
Tshri Vile Parle Kelvani Mandal'S D. J. Sanghvi College of Engineering Department of Information Technology Semester: Iii Subject: Java Programming Lab