# Java OOP Challenges

## Challenge 1

```java
* Simulate your phone's contacts and messages applications
* Greet the user
* Show these 3 options:
    1. Manage contacts
    2. Messages
    3. Quit
       In case of selecting 1 --> show these options:
    1. Show all contacts
    2. Add a new contact
    3. Search for a contact
    4. Delete a contact
    5. Go back to the previous menu
       In case of 2 -> show these options:
    1. See the list of all messages
    2. Send a new message
    3. Go back to the previous menu
* In case of 3 --> Quit the application
------------------------------------------------------------
Answer: https://github.com/h0tak88r/myScripts/blob/master/java/javaChallenges/challenge1/README.md
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sallam.gitbook.io/sec-88/programming/java/java-oop-challenges.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
