Interview Questions and Answers for 'Caprusit' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 2406 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

   



Interview Questions and Answers for 'Caprusit' - 1 question(s) found - Order By Newest

 Q1. What are different types of variables in Java ?2016-05-26 14:11:45

Ans. 1. Function Local Variables
2. Instance Variables
3. Class variables or static variables

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

   Like      Discuss      Correct / Improve     variables     CaprusIT      basic        frequent


Related Questions

  What do you mean by "Java is a statically typed language" ?
  How does volatile affect code optimization by compiler?
  What are the advantages and disadvantages of static variables and static methods ?
 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
 Can we declare static variables as transient ?
  What is a Final Variable ?
  Can we serialize static variables ?
  Can we access instance variables within static methods ?
  What are the disadvantages of using arrays ?
  Why are Getter and Setter better than directly changing and retrieving fields ?

or

What is the significance of variable hiding in Java ?

or

Why it's preferred to keep variables private and allow their access through getter and setter 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

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: