Categories: Homework on time

outprint was not what I expected.  * Name: Octavia L. Wynn * Date: 18 February 2019 *Purpose: The pu

outprint was not what I expected.  * Name: Octavia L. Wynn * Date: 18 February 2019 *Purpose: The purpose of this program is to create a simple class to represent any household item */import java.util.Scanner;public class Electronics { static Scanner sc= new Scanner (System.in); public Electronics(String string, boolean b) {  // TODO Auto-generated constructor stub } public static void main(String[]args){//create class Electronics with item name//boolean to set the position of itemElectronics item1=new Electronics(“TV”,true);System.out.println(item1.toString());Electronics item2=new Electronics(“Surroundsoundspeakers”, true);System.out.println(item2.toString());Electronics item3=new Electronics(“Ipod”, false);System.out.println(item3.toString()); }}once you run it it comes out as Electronics@2a18f23cElectronics@16c0663dElectronics@23223dd8

Don't use plagiarized sources. Get Your Custom Essay on
outprint was not what I expected.  * Name: Octavia L. Wynn * Date: 18 February 2019 *Purpose: The pu
Just from $13/Page
Order Essay
superadmin

Recent Posts

Consider the following information, and answer the question below. China and England are internation

Consider the following information, and answer the question below. China and England are international trade…

4 years ago

The CPA is involved in many aspects of accounting and business. Let’s discuss some other tasks, othe

The CPA is involved in many aspects of accounting and business. Let's discuss some other…

4 years ago

For your initial post, share your earliest memory of a laser. Compare and contrast your first percep

For your initial post, share your earliest memory of a laser. Compare and contrast your…

4 years ago

2. The Ajax Co. just decided to save $1,500 a month for the next five years as a safety net for rece

2. The Ajax Co. just decided to save $1,500 a month for the next five…

4 years ago

How to make an insertion sort to sort an array of c strings using the following algorithm: * beg, *

How to make an insertion sort to sort an array of c strings using the…

4 years ago

Assume the following Keynesian income-expenditure two-sector model:

Assume the following Keynesian income-expenditure two-sector model:                                                AD = Cp + Ip                                                Cp = Co…

4 years ago