Mar 8, 2017

Compile time constants and Run time constants

Compile time constants: These are the primitives(int, char, byte and short) and strings that are declared with keyword final and initialized at the time of declaration (value should be known to the compiler at the compile time). For example: public final int x = 10; -> 1 Here the variable x is declared with keyword final and initialized at the declaration time. It is called...

Mar 16, 2016

My Youtube Channel - COMSCIGUIDE

Interview Puzzles : These are the common questions that are asked in the HR interview. As puzzles are updated from interview to interview, in this playlist, recently asked puzzles are updated with the removal of others.  For full playlist of Interview puzzles videos :    https://www.youtube.com/playlist?list=PL3v9ipJOEEPfI4zt4ExamGJwndkvg0SFc 24 standard interview puzzles:   https://www.youtube.com/playlist?list=PL3v9ipJOEEPefIF4nscYOobim1iRBJTjw Aptitude...

Oct 23, 2015

What is Polymorphism

   Before going to that, I will explain a real world example. If you give an instruction "cut" to three different people – a hair stylist, a doctor and a movie actor. How do they respond?  The hair stylist cuts the hair.  A doctor will cut the patient’s body for surgery, a movie actor will stop acting. The message (cut) is same to all three objects (actor, hair stylist...
Filed under  | 

Sep 25, 2015

Aug 9, 2015

Aug 8, 2015