Which of the following can be marked static ?<br /> <br /> a. Methods , Variables and Initialization Blocks. <br /> b. Methods , Variables , Initialization Blocks and Outer Classes and nested Classes. <br /> c. Methods , Variables , Initialization Blocks and Outer Classes.<br /> d. Methods , Variables , Initialization Blocks and nested Classes
Javasearch.buggybread.com
Share

Search Interview Questions


 3358 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1. Which of the following can be marked static ?

a. Methods , Variables and Initialization Blocks.
b. Methods , Variables , Initialization Blocks and Outer Classes and nested Classes.
c. Methods , Variables , Initialization Blocks and Outer Classes.
d. Methods , Variables , Initialization Blocks and nested Classes
Core Java
Anonymous
Ans. Methods , Variables , Initialization Blocks and nested Classes

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     oops   java   static   nested classes   static nested classes

Try 2 Question(s) Test


Related Questions

  What do you mean by "Java is a statically typed language" ?
  Which of the following combination of keywords is illegal in Java ?

a. static and transient
b. transient and final
c. static and synchronized
d. abstract and final
  How can we run a java program without making any object?
  What are the advantages and disadvantages of static variables and static methods ?
 Difference between Static and Singleton Class ?
  Why do we write public static void main ? Can we use some other syntax too for main ?
 Can we declare static variables as transient ?
 What is the difference between the following two code lines ?

1. new OuterClass().new InnerClass();

2. new OuterClass.InnerClass();
  Can we access instance variables within static methods ?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this