Top "Static" questions

Static is a term used in some programming languages to define a function or data storage area (field) that is not bound to any specific object instance.

Can we use static method in an abstract class?

In Java Programming, Can we call a static method of an abstract class? Yes I know we can't use static …

java interface static abstract
Lifetime of ASP.NET Static Variable

I am holding some information in static variables defined in page class (not in Global.asax). I only declare variable …

c# asp.net static
Getting value of public static final field/property of a class in Java via reflection

Say I have a class: public class R { public static final int _1st = 0x334455; } How can I get the value …

java reflection static final
Are static variables shared between threads?

My teacher in an upper level Java class on threading said something that I wasn't sure of. He stated that …

java multithreading concurrency static memory-visibility
What is the difference between static const and const?

What is the difference between static const and const? For example: static const int a=5; const int i=5; Is there …

c static constants
static template functions in a class

How do I make the following function inside a class and then access this function from main? My class is …

c++ class templates static typename
Qt static linking and deployment

I am trying to deploy(release to public) a simple qt application I made recently, but got stuck at static …

windows qt deployment static
How can I get the value of a session variable inside a static method?

I am using ASP.NET page methods with jQuery.... How do I get the value of a session variable inside …

c# asp.net methods static session-variables
Can non-static methods modify static variables

I am wondering how a non static method can modify a static variable. I know that static methods can only …

java methods static instance-variables access-modifiers
Django Static files 404

I can't get my static files to come up. I've tried various settings and directory configurations and so on, but …

django static http-status-code-404