StackOverflow Questions for Tag: local-class

Markus A.
Markus A.

Reputation: 12742

Is there such a thing as a "local interface" in Java?

Score: 3

Views: 2682

Answers: 5

Read More
theutonium.18
theutonium.18

Reputation: 525

Local Class instance creation expression occurs in a static context - compilation error?

Score: 0

Views: 17

Answers: 0

Read More
Mohsen Kamrani
Mohsen Kamrani

Reputation: 7457

Does java forward referencing act differently in different situations?

Score: 1

Views: 175

Answers: 2

Read More
HighCommander4
HighCommander4

Reputation: 52739

Member template in local class

Score: 55

Views: 13437

Answers: 2

Read More
kaka
kaka

Reputation: 815

Can we declare interface inside a method?

Score: 1

Views: 92

Answers: 1

Read More
bragboy
bragboy

Reputation: 35542

Use of class definitions inside a method in Java

Score: 128

Views: 97819

Answers: 9

Read More
Fedor
Fedor

Reputation: 21089

Can friend function of a local class be defined in namespace scope?

Score: 0

Views: 133

Answers: 0

Read More
user11712295
user11712295

Reputation:

How to make function friend of local class?

Score: 1

Views: 285

Answers: 4

Read More
bfin
bfin

Reputation: 1

JDK8: No enclosing instance of type Object is accessible. Must qualify the allocation with an enclosing instance of type Person (e.g. x.new A()

Score: 0

Views: 94

Answers: 0

Read More
iammilind
iammilind

Reputation: 69988

Why field inside a local class cannot be static?

Score: 17

Views: 1732

Answers: 6

Read More
davidalayachew
davidalayachew

Reputation: 1553

Why is there a ClassLoader exception when there are 2 objects with similar type names

Score: 3

Views: 2282

Answers: 2

Read More
Gonen I
Gonen I

Reputation: 6107

Are all local classes and all anonymous classes also inner classes?

Score: 1

Views: 220

Answers: 2

Read More
M. Dudek
M. Dudek

Reputation: 1085

Get constructor for local-class in non-static method by reflection

Score: 0

Views: 221

Answers: 0

Read More
Desmond Gold
Desmond Gold

Reputation: 2065

Leaking the local class outside function

Score: 2

Views: 54

Answers: 0

Read More
ishan
ishan

Reputation: 301

static member variable inside a local class in c++?

Score: 4

Views: 4322

Answers: 6

Read More
Timur
Timur

Reputation: 179

Call Local class within PAI Module

Score: 1

Views: 1484

Answers: 1

Read More
locobe
locobe

Reputation: 89

Does local class of interface exist?

Score: 0

Views: 58

Answers: 1

Read More
jw_
jw_

Reputation: 1785

Use Clang LibTooling to scan C++ source that has call to local class in a templated parent class

Score: 1

Views: 239

Answers: 1

Read More
Yati Sawhney
Yati Sawhney

Reputation: 1402

Why does an inner class instance remian in the memory even if the outer class object is destroyed?

Score: 2

Views: 876

Answers: 4

Read More
Lukas Eder
Lukas Eder

Reputation: 220762

Error "illegal generic type for instanceof" when using local classes

Score: 63

Views: 3381

Answers: 4

Read More
PreviousPage 1Next