All Stories

Java - exception_hierarchy

Exception. Checked vs Unchecked.

In tutorial, exception_hierarchy, java, Jan 23, 2025

Java - no_image

Do objects get passed by reference or value?The two most prevalent modes of passing arguments to methods are “passing-by-value” and “passing-by-reference”. Different programming langu...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Resizable: Array is static in size that is fixed length data structure, one cannot change the length after creating the Array object. ArrayList is dynamic in size. Each ArrayList ...

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Inner classes vs Static nested classes

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

int vs Integer

In tutorial, no_image, java, Jan 23, 2025

Java - no_image

Semaphore vs MonitorBoth semaphores and monitors are used to solve the critical section problem (as they allow processes to access the shared resources in mutual exclusion) and to ach...

In tutorial, no_image, java, Jan 23, 2025

Java - java_map

Map interface An object that maps keys to values. A map cannot contain duplicate keys; each key can map to at most one value.

In tutorial, java_map, java, Jan 23, 2025