Access Control Modifiers in Java

Below is a table that quickly shows you the difference between the access modifiers Public, Protected, Package (default), and Private. The topmost row with Class, Package, Subclass, and World refer to the amount of access allowed. The leftmost column with public, protected, no modifier (also known as default or package), and private refer to the […]

Read More

stary sky purple cliff with trees, and java symbol ontop featured image


So what are Generics in Java? Java Generic methods and generic classes enable programmers to specify, with a single method declaration, a set of related methods, or with a single class declaration, a set of related classes, respectively. Generics allow you to build Classes and methods to handle any type of data. The use of […]

Read More

Terms & Definitions

Applet Vs Application All Java programs can be classified as Applications and Applets. The striking differences are that applications contain main() method where as applets do not. One more is, applications can be executed at DOS prompt and applets in a browser. We can say, an applet is an Internet application. [Source] Concatenate Concatenate meas […]

Read More