Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8721335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:12:17+00:00 2026-06-13T07:12:17+00:00

Task: 1. I will write in clients printwriter min(2,3,4,5,6) this msz goes to servers

  • 0

Task:
1. I will write in clients printwriter min(2,3,4,5,6)

  1. this msz goes to servers buffered reader.
  1. server needs to answer the minimum number and print.

how to deal with this min(parameters) ,, server reads it as string.

to find minimum, i have to convert this min(param.) into a real arraylist in server.

Server code of how i did the date is given below, want answer in similar format.

if (msgFromClient != null && msgFromClient.equalsIgnoreCase("DATE()")) { 
                    OutputStream clientOut = client.getOutputStream(); 
                    PrintWriter pw = new PrintWriter(clientOut, true); 
                    DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd");
                    Date date = new Date();
                    System.out.println(dateFormat.format(date));
                    String ansMsg = dateFormat.format(date); 
                    pw.println(ansMsg);
                }

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:12:18+00:00Added an answer on June 13, 2026 at 7:12 am

    You’ve already answered your own question…

    1. Convert the String into an array-based Object
    2. Find the minimum value
    3. Return the answer as a String

    If you want help, give it a try first, post your answer, and then we’ll be able to help correct any problems. We’re not going to do your homework for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to write a simple task which will update and commit source code
I'm trying to write a rake task that will set up an environment mirroring
I am trying to write a capistrano task that will backup databases on multiple
According to this post: How to write a scalable Tcp/Ip based server jerrylvl states:
My main program running 8 tasks using Task.Factory.StartNew Each task will request XML format
I am writing a shell script that will perform 2 tasks. One task will
I have a model Task which will HABTM many TaskTargets. When it comes to
I want to start a calculation task that will last for a couple of
I am trying to implement a rake task that will run once a month
What I am trying to achieve is writing a task which will list all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.