- SCTEVT 3rd Semester oop Problems
- OOM Concept and Explaination
-
Write a Java program to print 'Hello' on screen and then print your name on a separate line.
-
Write a Java program that takes a number as input and prints its multiplication table upto 10.
-
Write a Java program to print the area and perimeter of a rectangle.
-
Write a Java program to convert a decimal number to binary number.
-
Write a Java program to count the letters, spaces, numbers and other characters of an input string.
-
Write a Java program to compute the sum of the digits of an integer.
-
Design a class to represent a bank account. Include the following members :
- Data members:
- Name of the depositor
- Account Number
- Type of account
- Balance amount in the account
- Methods:
- To assign initial values
- To deposit an amount
- To withdraw an amount
- To display the name and balance