Hello friends,
I am second year Computer Science student. I recently started learning java language. I find java language very interesting. In one of the java book I have seen following code, but I didn't understand it.
I don't know why null is assign to main and container in java code? Please help me.Code:JComponent container = menu == null ? popupMenus : menus;
Thank you.
Bookmarks