Thanks
I'll try it and see if I understode your point.
User Profile
Collapse
-
As in the assignment the titel has to be centered in a 50 column page so it the out put should look some think like this
Code:12345678901234567890123456789012345678901234567890 Sun Soloaris Express Developer Edition Gets Usability MakeOver
Leave a comment:
-
like this
Code:Sun Soloaris Express Developer Edition Gets Usability MakeOver
Leave a comment:
-
The problem it only prints the titel but not in the way I wanted.Leave a comment:
-
This is what I came up with:
Code:public class Utility { private int numberColumns; private int numberLines; private String author; private int pageNumber; private final int lMargin = 5; private final int rMargin = 5; private final int tMargin = 3; private final int bMargin = 5; private int lengthForCenter; private int lineNumber;
Leave a comment:
-
-
Thanks for your explanation. But I don't think that's what my instructor wants because we are in a 1st level class and we are just begninrs with java.
I found some text methods in API but my problem is how to set up the number of lines?...Leave a comment:
-
Are these methouds or classes and are they in the API doc?...Leave a comment:
-
A program for printing a paragraph in MLA style
Hi all,
I have an assignment and I need some help with it. This is the assignment
//
Research reports are often required to conform to a given standard such as APA or MLA. These standards specify things like the size of the margins and formats for titles, paragraphs, references, page numbers, etc. Suppose that a program is to produce a report conforming to a standard. It would be desirable to provide utility class to... -
Thanks a lot for your reply and usefull help. I gut a full mark on that assignment....Leave a comment:
-
Thank you for your fast reply
But I am wondring should I move the three objects that are declared in Car class to TestCar class?
Regard...Leave a comment:
-
A problem with objects in java to represent the real-world entity Car
Hi
This is the task:
and these are my classes:
Code:public class Engine{ // Declare the varibles double cylinderCapacity,horsePower; int numberOfCylinders,numberOfValves; Engine obj1= new Engine(); // Default constructor accepts no arguments Engine(){ cylinderCapacity=200.00; horsePower=500.00;
No activity results to display
Show More
Leave a comment: