Here is how you create instance of classes or object variables and invoke methods or member functions in Java:
Book b1;
b1=new Book();
b1.getBook("java","james");
Here is how you create instance of classes or object variables and invoke methods or member functions in Java:
Book b1;
b1=new Book();
b1.getBook("java","james");
Core Java Tutorials is proudly powered by WordPress. Entries (RSS) and Comments (RSS) | Swift by Satish Gandham a product of SwiftThemes.Com