1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
mixer [17]
4 years ago
14

How to make a conversation program in java

Computers and Technology
1 answer:
Talja [164]4 years ago
4 0

Answer:

Creating a Chat Server Using Java

Introduction: Creating a Chat Server Using Java. ...

Step 1: Setup a ServerSocket in the Server Class. ...

Step 2: Create a Socket in the Login Class. ...

Step 3: Create a Loop to Continuously Accept Clients. ...

Step 4: Create the Client Threads. ...

Step 5: Create the Server Thread. ...

Step 6: Make the Client Thread Send and Receive Data.

You might be interested in
A data analyst adds descriptive headers to columns of data in a spreadsheet. How does this improve the spreadsheet?.
Marrrta [24]

The way that adding descriptive headers to columns of data in a spreadsheet improve the spreadsheet is that; It adds context to the data.

  • Usually in spreadsheets in Microsoft Excel, we could just naturally use letters like A, B or C or even numbers like 1, 2, or 3 as title headers for columns. However, sometimes it becomes necessary to use descriptive headers. This is because the person reading it may not be able to easily comprehend the details or numbers in that particular column.

  • Thus, in order to add more context to the data in the column of the spreadsheet and improve understanding of context using descriptive headers is very useful.

Read more on excel spreadsheets at; brainly.com/question/25863198

7 0
2 years ago
N a MenuStrip, if you create each main menu item with a(n) ____ in front of a unique letter, then the user can press Alt and the
Zolol [24]

Answer:

C) &

Explanation:

In the C# programming language a MenuStrip adds a custom menu bar to the program that you are making in which you can create unique menu items. When doing so, if you create a menu item with an & in front of a unique letter, the user can press ALT and the letter to activate the menu choice. These shortcuts are known as Access Keys.

8 0
3 years ago
Menus are attached to windows by calling the _____ method.
Talja [164]

Answer: Set J Menu bar

Explanation:

J Menu bar class are used to display the menu bar in the window and frame. it basically inherited from the j menu class and it has various menus.

By using the J menu bar we can create the menu in java. The J menu class object is an element of pull down menu and it is used to display in he menu bar.  

And the menu are attached with the frame by using J frame.setJMenu Bar.  

5 0
3 years ago
How do you access the dark web
Artist 52 [7]

Answer:

look up dark web links

Explanation:

8 0
4 years ago
Read 2 more answers
The Employee class will contain a String attribute for an employee’s name and a double attribute for the employee’s salary. Whic
MAVERICK [17]

Answer:

The answer is "Option b".

Explanation:

In the choice b, a public class "Employee" is declared, in which two private variables "name and salary" is declared whose data type is a string and double. At this, the class is accessible outside the scope but it variable accessible in the class only and the wrong choice can be defined as follows:

  • In choice a, datatypes access modifiers were different that's why it is wrong.
  • In choice c and d both classes use a priavte access modifier, which means it can't accessible outside that's why it is wrong.

5 0
3 years ago
Other questions:
  • Which of the following does not describe local alignment algorithm?
    9·1 answer
  • Which function is used to display a string value to the screen?
    8·1 answer
  • A bank system mainframe is struck by a DDoS attack and goes offline. Customer’s cannot log on to their accounts. Which element o
    11·1 answer
  • Computer programs and games are called what?
    13·1 answer
  • Suppose you have a primary location in New York City where you main corporate servers are located. Just in case something happen
    5·1 answer
  • Double click on a sheet tab to ______ the sheer
    9·2 answers
  • Identify the correct way to cite the Occupational Outlook Handbook's "How to Become a Dentist" web page.
    8·2 answers
  • Which gases are carried by red blood cells? Select two options.<br> science question
    14·2 answers
  • What is output unit of a computer system?​
    8·1 answer
  • Which system provides an easier way for people to communicate with a computer than a graphical user interface (GUI)
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!