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
Consider the following information, and answer the question below. China and England are international trade…
The CPA is involved in many aspects of accounting and business. Let's discuss some other…
For your initial post, share your earliest memory of a laser. Compare and contrast your…
2. The Ajax Co. just decided to save $1,500 a month for the next five…
How to make an insertion sort to sort an array of c strings using the…
Assume the following Keynesian income-expenditure two-sector model: AD = Cp + Ip Cp = Co…