Program on object oriented technology, JAVA Programming

Assignment Help:

This assignment is intended to write a simple program in Java and to use the concept of Object Oriented Technology. Open a project named "MyProject" in NetBean.

Under this project create three Java classes (Java files) called Assignment, PersonalDetails and Calculate. The Assignment class will just have the Java main method. However it will use the other two classes to make the program running. Details of the PersonalDetails class are as follows

The attributes of the person are

Name

Age

Suburb

State

Post Code  

This class will contain JoptionPane of Java Swing components. It will have a method called getUserInformation(). When you run the program it will ask the user to enter the details as shown below in JOptionPane snapshots.

In the same project you write another class named Calculate.

This class will have a method called the checkAge( ) method.

The checkAge ( ) method will check the person's age if the person's age is less than 25 or more than 25. If the age is more than 25 the person can join as a member

The PersonalDetails class will ask the user to enter the personal details such as Name, Age, and Address as above and use the Calculate class to determine if the user is eligible to become a member or not based on his age.

If the person is less than 25, it should print (Name, Age, Suburb, State and postcode of the person and tell the person that he can not be accepted as a member as he is less than 25 years old). If the person is greater than 25 than it should print (Name, Age, Suburb, State and postcode of the person and congratulate the person on membership acceptance).

All results should be displayed on the JoptionPane as follows:

This is an individual assignment and each student is expected to do the assignment on own.

You have to hand in both hard and soft copy for your work on or before the deadline.


Related Discussions:- Program on object oriented technology

I need java expert with tomcat tuning experience, I need Java expert with t...

I need Java expert with tomcat tuning experience Project Description: Require a Java expert to fix memory issues with tomcat. Skills required: Java, Apache

Compiler Design - Limit the loops, Problem : Compiler Design - Limit the lo...

Problem : Compiler Design - Limit the loops Rajni is a newbie to the programming and while learning the programming language he came to know the following rules: ???• Each

Banknote ocr register anti fraud, Project Description: Introduction: ...

Project Description: Introduction: SID C.A. (integradores) is a software company in Venezuela 15 years ago, and we are exploring the possibility of making mobile developments

Information retrieval during multi-agent system, Information Retrieval duri...

Information Retrieval during Multi-Agent System with Data Mining in Cloud Computing Project Description: I have proposed one research model on "Information Retrieval during M

We want the best java programmer, We want the best java programmer availabl...

We want the best java programmer available. Project Description: Java | Portlets| JSF Liferay (not essential but is preferable) Big Data and User online tools. Multilin

What are not allowed within the ejb container? , In  order  to  provide  po...

In  order  to  provide  portable  and  reliable  EJB  elements,  the  following  restrictions  apply  to  EJB  code implementation: 1. Avoid using static non-final fields. Defin

Interface, Interface to calculate carbon foot print

Interface to calculate carbon foot print

Difference between static and non-static variable, What is the difference b...

What is the difference between static and non-static variables? A static variable is associated with the class as a whole rather than with specific instances of a class. Non-st

What is the major role of ejb 2.x in j2ee? , EJB 2.x is broadly adopted ser...

EJB 2.x is broadly adopted server side component architecture for J2EE. 1. EJB is a remote, distributed multi-tier system and allows protocols like IIOP, JRMP, and HTTP etc.

Need to develop a small android app, Need to develop a Small Android App us...

Need to develop a Small Android App using Text to speech and Speech to Text feature. Project Description: When the Android App Opens, It will connect to Windows Azure cloud,

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd