aspose file tools
The moose likes Beginning Java and the fly likes client level code? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "client level code?" Watch "client level code?" New topic
Author

client level code?

Jay Mandorla
Greenhorn

Joined: Feb 18, 2009
Posts: 4
Hello,

I am doing a homework assignment that asks me to "Write Java statements at the client level," but I can't tell what "statements at the client level" actually means. Does that just mean pseudocode? (But pseudocode wouldn't be "Java statements," right? But maybe I'm overthinking this...)

Any help is appreciated.

Jay
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Hello Jay,

Welcome to JavaRanch.

I think you can always ask your professor if you have any doubt in assignment. By the way what is the complete problem statement?
Jay Mandorla
Greenhorn

Joined: Feb 18, 2009
Posts: 4
Vishal Pandya wrote:Hello Jay,

Welcome to JavaRanch.

I think you can always ask your professor if you have any doubt in assignment. By the way what is the complete problem statement?


Hi Vishal, thanks for the welcome.

My problem is of my own making -- I put the assignment off until the last minute, so I won't have a chance to ask before I have to turn it in. There are several questions that ask for "code at the client level." An example question would be:
Suppose that the ADT list did not have a method replace. Write Java statements at the client level that replace an object in the list nameList. The object's position in the list is givenPosition and the replacement object is newObject.


Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 16695
    
  19

My problem is of my own making -- I put the assignment off until the last minute, so I won't have a chance to ask before I have to turn it in. There are several questions that ask for "code at the client level." An example question would be:


Unfortunately, the term that you are using is not common to us, so asking your professor is still your best bet. All we can do is guess.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
...Or write down a pretty good java code (statements) for the problem statement along with the pseudo code. . So in any case you will be fine.
Jay Mandorla
Greenhorn

Joined: Feb 18, 2009
Posts: 4
Thanks, Henry and Vishal.

Note to self: next time, don't wait til the last minute...
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 3041
    
    4

Jay Mandorla wrote:
Suppose that the ADT list did not have a method replace. Write Java statements at the client level that replace an object in the list nameList. The object's position in the list is givenPosition and the replacement object is newObject.



As others have said, the term 'client level code' is non-standard, so your prof' is the best place to get an answer. From the context, though, I think what s/he is looking for is to write code from the perspective of a method using the ADT list, rather than from the perspective of, perhaps, subclassing or implementing the ADT list.


Steve
Jay Mandorla
Greenhorn

Joined: Feb 18, 2009
Posts: 4

As others have said, the term 'client level code' is non-standard, so your prof' is the best place to get an answer. From the context, though, I think what s/he is looking for is to write code from the perspective of a method using the ADT list, rather than from the perspective of, perhaps, subclassing or implementing the ADT list.


Hmm, yeah, I think that might be it. Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: client level code?
 
Similar Threads
Threads and Sockets
Servlet API 2.2
Java Calendar - to manipulate in hours basis
LIS Question
How to write pure JAX-RPC client to invoke webservice?