37. Can we declare a static variable inside a method? Static varaibles are class level variables and they can’t be declared inside a method. If declared, the class will not …
Technical Questions
-  Interview Questions and AnswersJavaTechnical Interview Questions and Answers
 -  Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-6
by Sby S31. How is final different from finally and finalize()? final is a modifier which can be applied to a class or a method or a variable. final class can’t be …
 -  Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-5
by Sby S25. Can a class declared as private be accessed outside it’s package? Not possible. 26. Can a class be declared as protected? A class can’t be declared as protected. only …
 -  Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-4
by Sby S19. Can a main() method be overloaded? Yes. You can have any number of main() methods with different method signature and implementation in the class.
 -  Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-3
by Sby S13. What are instance variables? Instance variables are those which are defined at the class level. Instance variables need not be initialized before using them as they are automatically initialized …
 -  Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-2
by Sby S7. What is the base class of all classes? java.lang.Object 8. Does Java support multiple inheritance? Java doesn’t support multiple inheritance.
 -  Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-1
by Sby S1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write …
 -  C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-9
by Sby S13. How can I manipulate strings of multibyte characters? Say your program sometimes deals with English text (which fits comfortably into 8-bit chars with a bit to spare) and sometimes …
 -  C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-8
by Sby S12. What are multibyte characters? Multibyte characters are another way to make internationalized programs easier to write. Specifically, they help support languages such as Chinese and Japanese that could never …
 -  C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-7
by Sby S10. Why shouldn’t I start variable names with underscores? Identifier names beginning with two underscores or an underscore followed by a capital letter are reserved for use by the compiler …