85. Which characters may be used as the second character of an identifier, but not as the first character of an identifier? The digits 0 through 9 may not be …
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-14
by Sby S79. What are order of precedence and associativity, and how are they used? Order of precedence determines the order in which operators are evaluated in expressions. Associatity determines whether an …
- Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-13
by Sby S73. What do you understand by private, protected and public? These are accessibility modifiers. Private is the most restrictive, while public is the least restrictive. There is no real difference …
- Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-12
by Sby S67. Which non-Unicode letter characters may be used as the first character of an identifier? The non-Unicode letter characters $ and _ may appear as the first character of an …
- Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-11
by Sby S61. Can a Byte object be cast to a double value? No, an object cannot be cast to a primitive value. 62. What is the difference between a static and …
- Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-10
by Sby S55. What is Externalizable? Externalizable is an Interface that extends Serializable Interface. And sends data into Streams in Compressed Format. It has two methods, writeExternal(ObjectOuput out) and readExternal(ObjectInput in)
- Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-9
by Sby S49. Why is an Interface be able to extend more than one Interface but a Class can’t extend more than one Class? Basically Java doesn’t allow multiple inheritance, so a …
- Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-8
by Sby S43. Class C implements Interface I containing method m1 and m2 declarations. Class C has provided implementation for method m2. Can i create an object of Class C? No not …
- Interview Questions and AnswersJavaTechnical Interview Questions and Answers
Core Java Interview Questions and Answers For Freshers and Experience Part-7
by Sby S37. 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 …
- 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 …