Java Fullstack Questions
Java Fullstack Questions
1) What is Java?
Java is an object oriented language.
2) Name the Java IDE’s?
Eclipse
3) Name some OOPS Concepts in Java?
Encapsulation, Polymorphism, Inheritence
4) Although inheritance is a popular OOPs concept, it is less advantageous than composition.
Explain.
Easy mocking,
Easy compare using comparator
5) How would you differentiate between a String, StringBuffer, and a StringBuilder?
String is immutable,
StringBuffer is mutable, not a thread safe
String builder is mutable, thread safe.
6) What is the purpose of a filter in Angular?
To filter certain objects with predicate.
predicate expression.
Json Converts JavaScript object into JSON
string
limitTo Returns new array containing specified
number of elements from an existing
array.
11) What are the commands to run and stop Spring Boot executable jar file?
server.shutdown=graceful