Define an interface MilitaryPower that has the following properties: • The interface has two public static final variables which are the finite x and y coordinate (i.e. the distance of the objects should not exceed these values. These values set to 100. • The interface has a method move that moves the military power objects to the target value. The method will be implemented by the other classes. The return type should be void. B) Define an enum class Direction which contains the directions (EAST, WEST, SOUTH, NORTH). C) Define a concrete class Tank that implements MilitaryPower, has the following properties: • XCoordinate (Integer), YCoordinate (Integer) are the instance variables for this class. • All instance variables should be private. • Write a parametered constructor that takes two parameters assigning with the instance variables. • Write a set and get method each of the instance variables. • Write a method move that takes two parameters. One of them is distance which type is integer. Another is direction which type Direction. The method should to the following: o If the direction is EAST, set the x-coordinate with adding distance. o If the direction is WEST, set the x-coordinate and subtract distance from x-coordinate. o If the direction is SOUTH, set the y-coordinate with adding distance. o If the direction is NORTH, set the y-coordinate and subtract distance from x-coordinate. • Write a method toString to display the tank coordinates. D) Define an array holding 10 MilitaryPower objects, all of them being a Tank. Then display each of the object information on the screen. (display its movements and coordinates).
how to creat e-vat return in tally
what is the difference between PEGA based web application testing versus web application testing?
What happen when neutral point connected to core balance current transformer? (Neutral point of an alternator of a 180KVA DG. Neutral point connected to CBCT means enter to the CBCT)
Explain Asynchronous Message Consumption in JMS?
Test approach to windows update?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
what is the role of auditor in auditing data oriented applications?
What are the similarities in the life cycles of the blood fluke and the Chinese liver fluke ?
What is Noise?
How to print No.of.rows affected after updation using ADO.Net
Draw a circuit diagram in which if button is open we can use socket and bulb as a series test circit and if button is close than simple we can use socket as any load purpose.
Someone wants to send a small quantity, say about 500 Kgs., of green coffee beans from Koraput Orissa to Bangalore for Roasting and Packaging of the same there. There will be a loss in weight of about 20% during the processing the green coffee beans into coffee powder, which will then be fit for human consumption. Now, after processing the green coffee beans at Bangalore, the person wants to sell simultaneously a part of the Roasted Coffee Powder to four persons; one of them is in Chandigarh (a registered Dealer in Punjab) and the other is in Mumbai (possibly he is a an individual and not a registered dealer), third one is a registered dealer in Bangalore and the last one is an individual consumer just like you and me, and is not a registered dealer and stays in Mysore. The person wishes to bring the rest of the packed Roasted Coffee Powder back to Koraput, Odisha. The planter is a registered dealer under VAT in Odisha and has produced (manufactured) the coffee beans in his own gardens, and has applied for a CST Number but is yet to obtain the Number. We want to know: As to whether he can send the coffee beans to Bangalore for roasting without obtaining a CST Number beforehand. Or as to whether it is mandatory for him to get the CST registration first, before sending the Coffee beans to outside the state; As to how the person can generate the Way Bills from here and to send these to the transport carriers, for his sales to Chandigarh, Mumbai, Bangalore and Mysore. Tell me as to how he can do the necessary paper works and as to how he can pay the tax collected thus, As to how he can bring the rest of the roasted coffee powder back to Koraput that he can sell afterwards in the state and outside; He shall be sending samples of the Roasted coffee to Philippines and elsewhere, from Bangalore itself. May be in a subsequent times he might export, for which he has to send the roasted coffee powder to Mumbai; If the person wants to send the parchment coffee to Kushal Nagar in Karnataka to do the Curing Pre-Roasting) there, as to how he can send the processed coffee to the Roster at Bangalore. During Curing there is a loss of weight of about 20% too. Until the roasting is done, there will be no transfer of ownership, at any point of time, in between.
you must show the examples application and give at least 4 types of transducer/sensors that can minimize the failure during the manufacturing of the resistors.
Short Answer on ______Transaction