Computer Science, asked by lolz5155, 1 year ago

What is inner class?

Answers

Answered by priya6295
2

I hope this helps you

Attachments:

mehul1045: hii
priya6295: hello
mehul1045: do u want to chat with me
priya6295: yy
mehul1045: i thought u want to chat with me
mehul1045: if not.. thn bye
mehul1045: srry to disturb u...
priya6295: bye
Answered by malti010872
0

Plzz mention the question correctly...

Aadha adhura chhod k sochte ho answer to krr hi dega koi na koi...

Dono m s jo chahiye wo rkh lo aur jo nhi chahiye usska bhi kya kr loge...XP

Inner class in java

Inner class means one class which is a member of another class. There are basically four types of inner classes in java.

1) Nested Inner class

2) Method Local inner classes

3) Anonymous inner classes

4) Static nested classes

Nested or Inner Classes in Python

A nested or inner class is contained within another class. This could be for reasons of encapsulation, where the inner class is not useful by itself.

An inner class in python is a distinct entity in that it does not automatically get access to the outer class members in any special way.

Hope it helps...

Mark as brainliest plzzz!!!☺✌

Similar questions