Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
Can Static methods access non-static methods and non-static variables by using objects?
java
static
1 Voto
1 Resposta
18th Sep 2016, 6:27 PM
Kamogelo Michael Ditinti
public non-static & non-final allowed
interfaces
java
0 Voto
2 Respostas
26th Jan 2017, 2:36 PM
Phil
Is it possible to call non-static method statically
php
0 Voto
1 Resposta
29th Aug 2021, 10:57 AM
Dawit Yitagesu
Non-static variable cannot be referenced from a static context
java
static
1 Voto
1 Resposta
15th Oct 2019, 3:39 PM
Sanzid Sadman
Can we assign a non-static variable to a static method?
java
static
1 Voto
4 Respostas
15th Mar 2020, 3:47 PM
Alex Schmidt
Difference between static variable and non-static variable (instance variable)?
java
static
2 Votos
2 Respostas
9th Jan 2017, 4:00 PM
Annapoorani.H
error: non-static variable introduction cannot be referenced from a static context!
java
methods
2 Votos
4 Respostas
11th Jun 2019, 2:41 AM
Reza
What is the difference between static and non-static data members?
beginner
java
2 Votos
4 Respostas
3rd Feb 2018, 5:08 AM
Vansh Chopra
Can we access a non-static variable in the static context on java?
java
6 Votos
2 Respostas
18th Jun 2021, 4:01 AM
RuBeen Dahal👿
Why is it impossible to work with non-static fields in a static method?
c#
csharp
0 Voto
8 Respostas
3rd Jun 2022, 1:45 PM
أندريه
non-static data member initializers only available with -std=c++11 or -std=gnu++11..what does this mean?
c++
class
0 Voto
8 Respostas
2nd Jul 2018, 1:32 PM
Maleeha Khalid
What is the error in this code? Regarding non-static in JAVA.
java
0 Voto
3 Respostas
10th Feb 2017, 1:30 AM
Chandan Kumar Y S
Why non-static context can't be accessible from static context in java?
java
non-static
static
1 Voto
1 Resposta
12th Apr 2017, 9:28 AM
Bhavesh Joshi
How does memory management takes place for static and non-static variables ?
java
non-static
static
1 Voto
2 Respostas
23rd Sep 2016, 3:37 AM
Pavan Teja
In what situation do you need to declare a static constructor in a non-static class
c#
2 Votos
2 Respostas
28th Aug 2021, 5:14 AM
Tim
Error "Non-static variable"
non-static
variable
1 Voto
2 Respostas
27th Sep 2017, 10:45 AM
Steven
Just read that non-static method cannot rewrite static variables.Tried and found otherwise can somebody explains ?
java
0 Voto
1 Resposta
9th Jun 2019, 5:42 PM
Atul Singh
What is wrong with the code below? Can anybody say why can't i call a non-static method from a static method?
methods
0 Voto
7 Respostas
25th Jul 2018, 8:36 AM
Nathan
I cant understand thr error is coming of non-static method power(int,int) cannot be referenced from a static context....!
java
program
0 Voto
3 Respostas
5th Jul 2017, 5:25 PM
denise lartius
A member function can be declared static,if it does not access any non-static class members. Following statement are true&false?
p
1 Voto
1 Resposta
9th Apr 2017, 10:49 AM
prajapati piyush
As static method can access only static data members & methods so how we can manipulate non-static data inside main method ?
java;
methods
static
0 Voto
1 Resposta
14th Jan 2017, 10:11 AM
Atish Kadu
Why this doesn't work?
constructors
java
non-static
static
1 Voto
1 Resposta
3rd Apr 2020, 1:16 PM
jared mijail
What are the differences between a static variable and a non - static variable (java)?
java
non-static
questions
static
variables
3 Votos
3 Respostas
29th Jul 2017, 10:18 AM
Danish Javed
how to call non static methods that are already in abstract class inside main class static method in java?
abstract
class
coding
java
methodcalling
non-static
programming
static
1 Voto
2 Respostas
1st Mar 2020, 6:36 AM
D ̲E ̲S ̲S ̲I ̲E ̲- ̲B ̲A ̲H ̲I ̲R ̲U ̲
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Quente hoje
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes
Ruby programming?
3 Votes