CRM Workflow Example

This program models CRM workflow.

Problem Statement

Write a Java program to model Customer and CRMWorkflow classes.

Source Code

1 class Customer {
2 String name; String email;
3 Customer(String n,String e){ name=n; email=e; }
4 }
5 class CRMWorkflow {
6 void process(Customer c){ System.out.println("CRM updated for "+c.name+", Email: "+c.email); }
7 }
8 public class CRMWorkflowExample {
9 public static void main(String[] args) {
10 System.out.println("Eduinq CRM Workflow");
11 Customer c=new Customer("Arun","arun@eduinq.com");
12 CRMWorkflow w=new CRMWorkflow();
13 w.process(c);
14 }
15 }

Program Output

Eduinq CRM Workflow
CRM updated for Arun, Email: arun@eduinq.com

Explanation

Customer models client info. - CRMWorkflow processes customer data. - This demonstrates enterprise CRM workflow. Conclusion: Shows CRM workflow example.

Quick Links to Explore