subject

Which of the following is a static method? 1) method1

2) method2

3) SomeClass

4) SOME_VALUE

5) This cannot be determined by examining the above code

public class MainClass

{

public static void main(String[] args)

{

SomeClass myObject = new SomeClass(4, 5);

int fred = SomeClass. SOME_VALUE;

int barney = myObject. method1();

int wilma = SomeClass. method2(4);

}

}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Wich technology can a website use to allow you to listen to a concert live over the internet?
Answers: 3
question
Computers and Technology, 22.06.2019 15:00
Which of the following has not been attributed at least in part to social media a. drug addiction b. depression c. kidnapping d. murder
Answers: 2
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 25.06.2019 08:50
Write multiple if statements: if caryear is before 1968, print "probably has few safety features." (without quotes). if after 1971, print "probably has seat belts.". if after 1991, print "probably has anti-lock brakes.". if after 2002, print "probably has airbags.". end each phrase with period and newline. ex: caryear = 1995 prints:
Answers: 2
You know the right answer?
Which of the following is a static method? 1) method1

2) method2

3) SomeClass...
Questions
question
Mathematics, 09.04.2021 23:40
question
Mathematics, 09.04.2021 23:40
question
Mathematics, 09.04.2021 23:40
Questions on the website: 13722367