Classes and Objects interview questions We know a class is a model for creating objects. this means the properties and actions of the objects are written in the class. Properties are represented by variables and actions of the objects are represented by methods. So a class contains variables and methods. The same variables and methods […]
Tag: Java Basic Questions
One of the IT Companies Java Interview Questions and Answers-1
One of the IT Companies Java Interview Questions and Answers-1 1) How many objects will be created for the following scenario? Integer a1=10; Integer a1=10; Integer a1=20; Integer a1=15; Ans: 3 objects will be created. Explanation: Java storing value in the cache and while initialization will check in the cache, if it is exist […]
Java basics interview questions and answers
Why should I choose Java software development? What are the Pros and Cons? Java Pros It’s free cost, download it and start creating application. Open source with quite large community base. Lots of available third party libraries, frameworks & IDE for fast development cycles(Spring, Hibernate, Struts, Eclipse, IntelliJ). Platform independent, write once run on most […]