pr-java
pr-java
JDK: Java Development Kit, includes tools for developing Java programs (e.g., compiler).
JRE: Java Runtime Environment, contains JVM and libraries to run Java programs.
Access modifiers in Java are keywords that define the visibility or accessibility of classes,
methods, and variables.
8.what is encapsulation?
9.what is abstraction?
10.what is interface?
This: Refers to the current object of the class. It is used to access instance variables,
methods, or constructors.
Super: Refers to the parent class object. It is used to access parent class methods,
variables, or constructors.
13.Final keyword?
14.static keyword?
The static keyword in Java is used for variables and methods that are shared by all
instances of a class. You can access them without creating an object of the class.
16.what is package?
17.what is exception?
20.what is throw?
21.what is throws?
23.what is thread?