• package: group similar classes together. Classes in the same package share “public” method & attribute.
  • interface: just use to define prototype for common classes, not concern about implementation. Classes can inherit (using keyword “implements”) from many interface.
  • abstract class: (faster than interface since interface need to look up which implement to use) classes can inherit (using keyword “extends”) from only 1 abstract class. Abstract class cannot be instantiated.
  • abstract method: a method is declared without definition/implementation.
  • static final: attribute defined by using both keywords “static” and “final” are not absolutely constant, but it’s an instance stored at the same memory address. Its value can be changed by using reference assignment.
  • final class:
  • final method:
  • static:
  • inheritance: if inherited class call “super” method, then if it override a method of parent class, then “super” use this override method instead of the method of parent class.
tags,
  • Auto generate Java Getters & Setters: Right-Click -> Source -> Generate Getters & Setters

…and more

  • Ctrl+Shift+F: format code outline
  • Ctrl+O: search function
  • Crtl+Shift+C: comment/uncomment by //
  • Ctrl+Shift+/: comment/uncomment by /* */
tags, ,

Ohloh (https://www.ohloh.net/) is a website to upload/promote open-source project. Similar to sourceforge.net

tags

2 intensive weeks for Data Modeling course at the end of my 3rd semester. So so tired now :(

Just search for an easy tool to draw model for homework 2 and found some as below:

1. yEd: free, java application (need to install Java VM first). It supports only few diagrams, but support user-defined shapes & diagrams


Read the rest of this entry »

Things you should know about literature research from Todd Veldhuizen. A short guide for novice in research.

This is the third semester of my junior year and I study programming in Android for my OS course. Android is new plus this is the first time I do emulator programming :)

Everything was fine until the T.A announced the first project named “Sudoku”. After only 3 lab sessions, they gave a big complete game project to students. Luckily, I found the ebook “Hello, Android 2nd”, an essential ebook for beginning with Android. Again, Google helps me a lots.


Read the rest of this entry »

tags,

If you’re familiar with LaTeX, then LyX is a front-end of it. LyX provide a graphic interface in which we can easily write documents without any problem with LaTeX syntax/package. Plus, you can use your *.tex files in LyX. LyX is efficient for mathematical documents.


Read the rest of this entry »

tags,

LOST TIME
- Rabindranath Tagore –

On many an idle day have I grieved over lost time.
But it is never lost, my lord.
Thou hast taken every moment of my life in thine own hands.


Read the rest of this entry »

tags