Java Interview Questions Flashcards
What is Java?
Let us Java Page 3
https://aws.amazon.com/what-is/java/#:~:text=Java%20is%20a%20widely%2Dused,as%20a%20platform%20in%20itself.
Why is Java a popular choice among modern-day software developers?
https://aws.amazon.com/what-is/java/#:~:text=Java%20is%20a%20widely%2Dused,as%20a%20platform%20in%20itself.
Why is Java Platform Independent?
Let us Java Page 4
What is the difference between compiler and interpreter?
https://www.simplilearn.com/difference-between-compiler-and-interpreter-article#:~:text=A%20compiler%20translates%20the%20entire,potentially%20slowing%20down%20the%20program.
Why is Java not a pure object-oriented programming language?
https://medium.com/codex/why-is-java-not-a-pure-object-oriented-programming-language-b5ef9b2b291c#:~:text=well%2Ddefined%20interfaces.-,Java%20is%20not%20considered%20a%20pure%20object%2Doriented%20programming%20language,pure%20object%2Doriented%20programming%20language.
What are the features of Java?
https://www.javatpoint.com/features-of-java
Hat do you get in Java Download file?
https://www.quora.com/What-do-you-get-in-the-Java-download-file#:~:text=It%20includes%20the%20Java%20Virtual,debugger%2C%20and%20other%20development%20utilities.
What is classLoader?
https://www.geeksforgeeks.org/classloader-in-java/
What are the memory allocations available in Java?
https://www.educba.com/types-of-memory-in-java/#:~:text=The%20Java%20virtual%20machine%20memory,area%20and%20Native%20method%20area
What is the default value stored in local variables?
https://www.tutorialspoint.com/what-is-the-default-value-of-a-local-variable-in-java#:~:text=The%20local%20variables%20do%20not,the%20compiler%20throws%20an%20error.
What is association in Java?
https://medium.com/edureka/association-in-java-3d0facf63d56#:~:text=What%20is%20the%20Association%3F,and%20many%2Dto%2Dmany.
What is Copy Constructor in Java?
https://www.javatpoint.com/java-copy-constructor-example
What are Marker Interfaces? Can we create own marker interfaces?
https://www.baeldung.com/java-marker-interfaces#:~:text=A%20marker%20interface%20is%20an,also%20called%20a%20tagging%20interface.
What is Object Cloning?
https://www.javatpoint.com/object-cloning
What are wrapper classes in Java?
https://www.javatpoint.com/wrapper-class-in-java
What is singleton class in Java and how to implement it?
https://www.geeksforgeeks.org/singleton-class-java/
https://www.javatpoint.com/singleton-design-pattern-in-java
What is Package in Java?
https://www.javatpoint.com/package
Can we implement pointers in Java?
https://stackoverflow.com/questions/1750106/how-can-i-use-pointers-in-java
https://www.simplilearn.com/tutorials/java-tutorial/java-interview-questions#GoTop
Difference between instance and local variable
https://pediaa.com/what-is-the-difference-between-instance-variable-and-local-variable/#:~:text=An%20instance%20variable%20is%20a%20variable%20that%20is%20bound%20to,instance%20variable%20and%20local%20variable.
String pool in Java
https://www.linkedin.com/pulse/java-strings-string-pool-muhammad-noman?utm_source=share&utm_medium=member_ios&utm_campaign=share_via
https://www.digitalocean.com/community/tutorials/what-is-java-string-pool
https://www.simplilearn.com/tutorials/java-tutorial/java-interview-questions#GoTop
What is an Exception?
https://docs.oracle.com/javase/tutorial/essential/exceptions/definition.html#:~:text=Definition%3A%20An%20exception%20is%20an,off%20to%20the%20runtime%20system.
Page 453 in Let us Java
Final keyword in Java
https://www.javatpoint.com/final-keyword
Can we declare main[] as Non-static in Java?
https://www.tutorialspoint.com/can-we-declare-main-method-as-non-static-in-java
Why is main method static in Java?
https://www.javatpoint.com/why-main-method-is-always-static-in-java
https://www.scaler.com/topics/why-main-method-is-static-in-java/