Friday, July 10, 2015

Q & A

5/13/2014
1. Accessing static variables using objects.
2. Right click and go to source->Generate Getters and Setters, is not working.(Eclipse)
3. Right click and go to source->Organize import, is not working. (Eclipse)5.
4. Priting objects, what does it mean

Ans: Actually takes up computer memory I,e assigned an address.

Ans: This will display values in instance variables and methods...

Ans:

Trainer email id:
DHall@triveratech.com



5. Using .toString, System.out.println(obj1.toString()); --what does this give
6. what is javadoc
7. super();
8. get and set methods,
9. this(personId,fullName, new Date(01));
10. obj1.toString(); ---what does this mean. And also we can use System.out.println(obj1.toString();)
or sometimes System.out.println(obj1) , here toString() is not used because println has capability to make sure to convert string to printable format.
11. StringBuilder or StringBuffer
12. Backup the files before exiting eclipse - export-archive files->corejava, helloapp(select respective) ---finish. You can import the files later.
13. Are there any default interface that java provides, if so what are they?
14. 





No comments:

Post a Comment