25. 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 …
Questions and Answers
- 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-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 …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-6
by Sby S9. What’s a signal? What do I use signals for? A signal is an exceptional condition that occurs during the execution of your program. It might be the result of …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-5
by Sby S7. What is a “locale”? A locale is a description of certain conventions your program might be expected to follow under certain circumstances. It’s mostly helpful to internationalize your program. …