I student of 3rd year computer engineering. I had started learning java. I get this module from my professor, i made simple application but what logic to use in this , i m not getting it. My java module is - any java application let`s suppose sum of 2 nos , 'i had made it in netbeans' , will only work for next 10 days after it started (initially). After 10 days it will able to show msg like ' the time period of java application is over' . Plz tell me clues n some ideas related to my problem.
java programsaurabh trivedi June 30, 2011 at 12:42 AM
i need for input Integer.parsInt
how it use ..............
Question1:-
Design a class to represent a bank account.Include the following members:
DATA MEMBERS
1 name of depositor
2 account number
3 type of account
4 balance amount in account
METHODS
1 to assign initial value
2 to deposite an amount
3 to withdraw an amount after checking balance
4 to display the name and balance
Question2:-
Assume that a bank maintain two kinds of account for its customers, one called saving account & other Current account.The saving account provides compound interest & withdraw facilities but no cheque bookfacility.The current account provides cheque book facility but no interest.currentaccount holders should also maintain minimum balance & if the balance falls below this level, a service charge is imposed.
create a class account that stores customer name, account number, & account type. from this derive the classes Curr_acct & Sav_acct to make them more specific to their requirement.Include the necessary methods in order to achieve the following task:
1 accept deposit from a customer & update the balance
2 display the balance
3 compute & deposit interest
4 permit withdrawal & update the balance
5 check for the minimum balance, impose penality, if necessary, & update the balance.
do not use any constructor.use methods to intialize the class members
I Have to find this type output and what is the source code for this output
OUTPUT:
Enter the number of Countries to Enter:3
Enter Country Id:1
Enter Country Name:India
Enter Another country
Enter Country Id:2
Enter Country Name:AUS
Enter Another Country
Enter Country Id:3
Enter Country Name:USA
Enter No.of States to Enter the Corresponding Country:6
Enter Country Id:1
Enter State:AP,UP,TN
Enter Country Id:2
Enter State:syd,mus,ghr
Enter Country Id:3
Enter State: meb,ske,sdi
U R Entered The Countries with Corresponding States as given bellow and the countries are in Sorting order
AUS:syd,mus,ghr
IND:AP,UP,TN
USA:meb,ske,sdi
Classes - collection of programsPurushothaman S May 31, 2011 at 2:43 PM
Classes - collection of programs
not getting logic for a java module.Shyam June 20, 2011 at 10:08 PM
I student of 3rd year computer engineering. I had started learning java. I get this module from my professor, i made simple application but what logic to use in this , i m not getting it. My java module is - any java application let`s suppose sum of 2 nos , 'i had made it in netbeans' , will only work for next 10 days after it started (initially). After 10 days it will able to show msg like ' the time period of java application is over' . Plz tell me clues n some ideas related to my problem.
java programsaurabh trivedi June 30, 2011 at 12:42 AM
i need for input Integer.parsInt how it use ..............
j2sesuji September 18, 2011 at 8:03 PM
how to insert a multiple values with a single key by using HashTable in java(collections)
java program preety September 27, 2011 at 1:04 PM
Question1:- Design a class to represent a bank account.Include the following members: DATA MEMBERS 1 name of depositor 2 account number 3 type of account 4 balance amount in account METHODS 1 to assign initial value 2 to deposite an amount 3 to withdraw an amount after checking balance 4 to display the name and balance Question2:- Assume that a bank maintain two kinds of account for its customers, one called saving account & other Current account.The saving account provides compound interest & withdraw facilities but no cheque bookfacility.The current account provides cheque book facility but no interest.currentaccount holders should also maintain minimum balance & if the balance falls below this level, a service charge is imposed. create a class account that stores customer name, account number, & account type. from this derive the classes Curr_acct & Sav_acct to make them more specific to their requirement.Include the necessary methods in order to achieve the following task: 1 accept deposit from a customer & update the balance 2 display the balance 3 compute & deposit interest 4 permit withdrawal & update the balance 5 check for the minimum balance, impose penality, if necessary, & update the balance. do not use any constructor.use methods to intialize the class members
java programsgaurav October 17, 2011 at 4:24 PM
java program to generate 10 numbers and find longest increasing series among rhem and count the no. in series ?
about antivirusamit shriwas November 25, 2011 at 2:55 PM
now a days the antivirus system is very imp in every field.
javasimple program interface example in java December 23, 2011 at 12:41 PM
pls give me answer to immediate
hivani February 11, 2012 at 9:36 AM
i want easily can write java progrms and any thing about java or java interview question and answers,ur site is nice help me
javasunil February 26, 2012 at 11:40 AM
what is the difference between int and Integer...?
java programkarishma May 15, 2012 at 7:24 AM
how to convert a program into title case
javaRaj Kumar Varma October 2, 2012 at 8:53 AM
to find the factorial of 101
Collection Frame WorkJ Jagadeesh Kumar December 10, 2012 at 5:03 PM
I Have to find this type output and what is the source code for this output OUTPUT: Enter the number of Countries to Enter:3 Enter Country Id:1 Enter Country Name:India Enter Another country Enter Country Id:2 Enter Country Name:AUS Enter Another Country Enter Country Id:3 Enter Country Name:USA Enter No.of States to Enter the Corresponding Country:6 Enter Country Id:1 Enter State:AP,UP,TN Enter Country Id:2 Enter State:syd,mus,ghr Enter Country Id:3 Enter State: meb,ske,sdi U R Entered The Countries with Corresponding States as given bellow and the countries are in Sorting order AUS:syd,mus,ghr IND:AP,UP,TN USA:meb,ske,sdi
Post your Comment