I am studying Java and using Eclipse.
When I enter the object name followed by a dot, I can see all the methods available to me. Is that what you meant?
Thank you for your reply. I tried it and it works.
I have the following:
StringBuffer s=new StringBuffer();
s.append("add this");
If I want to attach "ing" to the word add, meaning I want to have s="adding this" how do I append in between characters?
I am learning about StringBuffer and have two questions:
[1] I tried creating a new String using StringBuffer, initialize it and specify it's length using the following statement:
StringBuffer s=new StringBuffer("Hi Gisela".length());
However when I do System.out.println(s); it does not...
When I run queries like the following in Business Objects:
Select [field] from [table] WHERE [field] IN ('a','b','c');
Does BO retrieve the entire table first? and then filters 'a', 'b', 'c'?
If that is the case, can I do anything to change that?
I am new to Java. I read the following: do not use the == operators to determine if strings are equal. It only returns true if the strings are stored in the same location.
So..I opened Eclipse and tried the following with 2 ways of testing equality:
public class TestingStrings {
public static...
When I run queries like the following in Business Objects:
Select [field] from [table] WHERE [field] IN ('a','b','c');
Does BO retrieve the entire table first? and then filters 'a', 'b', 'c'? If that is the case, can I do anything to change that?
The queries take a long time to run and I...
I need to write a query that calculates the number of weeks left between today() and April 1, 2007. I wrote the following, but although it does not give me an error, it does not display anything:
SELECT DateDiff("ww", now(),"April 1, 2007") AS Weeks
FROM tblTest;
I don't really need tblTest...
I have a form with a calendar.
The on open event contains: DoCmd.GoToRecord , , acNewRec
For some reason, the calendar does not appear as soon as I open the form, but if I put the cursor on the border of the form and resize it slightly, the calendar shows up.
The form is much bigger than the...
I have created a little training log for myself.
When I select an activity from a dropdown box I would like to immediately display a weekly total (time engaged) for that activity.
I already have the query but what I would like to know is:
is it possible to display the result of the query in my...
Sorry Tim, I tested it and I am still not clear. I deleted everything and started fresh. Here is what I have now:
-----------------------
IN PROJECT LEARNING
-----------------------
public class Bike {
public static void action(){
System.out.println("Rolling down the street..");
}
}...
Thank you Tim for your reply. I am using Eclipse.
Steve, I now clearly understand why my class name should be Bike instead of Bikes and I thank you for pointing that out.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.