Java Interview Questions
Interview Questions on StringBuffer and StringBuilder 1.What is a StringBuffer? a)class b)method c)constructor Ans class 2. StringBuffer is mutable. a)True b) False Ans True 3.StringBuffer is not synchronized. a)True b) False And False 4. String buffer creates an empty constructor with an initial capacity. a)12 b)20 c)16 Ans 16 5. String buffer reverse() method. a) […]
Java Interview Questions and Answers 1.What is Java? Explain its key features. Java is a high-level, object-oriented programming language . It was designed to be platform-independent, meaning that Java programs can run on any device or operating system that has a Java Virtual Machine (JVM) installed. Some key features of Java: Platform Independence Object-Oriented Simple […]