Modifiers allowed with class | public | private | protected | default |Most asked interview question

Опубликовано: 01 Июнь 2026
на канале: Java By Sir Inaam
277
4

Most asked java interview question | Which Access Modifiers are allowed with Outer class and Inner class in Java.
Modifiers allowed with class | public | private | protected | default | static | strictfp | final | abstract

Introduction to Java, It is a programming language and platform, it is a high-level language and also object-oriented,
It was developed by James Gosling from sun microsystems in 1995

Platform: Any software or hardware environment in which the program runs. It does not require anything from the operating system it is also an individual platform
High-level: any language whose wordings are near to natural language, which means easy to understand.
Object Oriented: object-oriented is something like a collection of rules and regulations that can be followed by any programming language like Python Java,C# we use oop concepts for the reusability of code. In oop, we can not access or fetch data unless making the object.

Why java?
Because it has been tested refined extended and proven by a dedicated community of java developers architects and enthusiasts
Because
Simple Grammer
Portability
Garbage collection
Speed
Huge library
Why java was created?
Java was created with five main goals
• It should be object-oriented
• A single representation of program code be executed on multiple operating systems (Write once run anywhere)
• It should fully support network programming
• It should be easy to use.

Java is divided in to three categories
J2SE (Java 2 Standard Edition ) //Desktop based applications
J2EE ( Java 2 Enterprise Edition) //Web-based applications
J2ME (Java 2 Micro or Mobile Edition) // Android applications

learn java
#learnjava
java language
#javalanguage
java programming language
#javaprogramminglanguage
java course
#javacourse
#javaforbeginners
java for beginners,
what is java programming
learn java programming
introduction to java programming
java coding for beginners
#javacodinginterviewquestions
#javacoding
what is java in Hindi
#javainhindi
#javainterviewquestionsandanswersforfreshers
learn java from scratch
what is a java developer
java language in Hindi
what is a compiler in java
what is java in computer
java language course
#languagecourse
best java course online free
#javacourse

Most asked java interview question
#mostaskedquestions
Which Access Modifiers are allowed with Outer class and Inner class in Java
access modifiers allowed with java class
allowed modifiers with java class
#modifiers
access specifiers in java
#accessmodifier
default access specifier in java
protected access specifier
#protected
modifiers in java
default access modifier in java
public private protected java
protected access modifier
protected class in java
private access specifier in java
java visibility modifiers
protected modifier in java
java class access modifiers
private modifier in java
java private protected
different access specifiers in java
java package protected
#javavideos



Contact
[email protected]
WhatsApp : 92 344 180 2057

#java
#javaprogramming
#javatutorial
#programming #codewithharry #apnacollage #apnacollege
#guru99 #durgasoftware #durgasoft #programmingwithmosh