hey peeps, i have a really big probelemo...i'm in grade 11 and writing i.t p1 prac on monday and still dunno how to call a method from another to a class.....im trying to create a simple program........
then call it from this classCode:public class Display { void display(String heading) { System.out.println("My name is bob."); } }
Code:public class CallDisplay { public static void main(String[]args) { Display print = new Display(); print.display(); System.out.print(print); } }
And i need to know how to use simple sql statements in java....(for example if i were connecting a database from Access into JGrasp.....eg. getNames();
Also i need a few tips on string handling, like how to split or delete strings/characters....