aspose file tools*
The moose likes Beginning Java and the fly likes Java coding test Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java coding test" Watch "Java coding test" New topic
Author

Java coding test

Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 247
Hello Guys
In one of the interviews I went for Java development, I was asked to write code to add/Subtract/Multiply and Divide 2 numbers using OOPrinciples. We have to create classes like OO principle not just add/subtract/divide and multiply

I did design these classes and wrote something. But would reallly lie to hear from other experts on how they will design and implment this/

Interesting puzzle..


SCJP, SCWCD, SCBCD, SCEA 5
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
That sounds too serious to be a "diversion", so I shall move this thread. It doesn't mean you escape me as a mod, however.Not only object-oriented, but immutable too It is actually a very simple exercise.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java coding test
 
Similar Threads
math calculations in JSPs
dividing floating point numbers?
regarding certificate !
Big Decimal why use it?
Java/JBuilder - Anyone with brains please help