Skip to main content

Posts

Showing posts with the label Interview Questions

JVM,JRE,Java Compiler Interview Questions

JVM,JRE,Java Compiler FAQs-1 1)How can I write a program that takes command line input? A: Java programs that take input from the command line declare a special static method called main , which takes a String array as an argument and returns void. The example program below loops through any arguments passed to the program on the command line and lists their values. 2)What does public static void main(String[]) mean? A: This is a special static method signature that is used to run Java programs from a command line interface (CLI). There is nothing special about the method itself, it is a standard Java method, but the Java interpreter is designed to call this method when a class reference is given on the command line, as below.

Android interview questions and Answers

1. What are the key components of Android Architecture? Android Architecture consists of 4 key components: - Linux Kernel - Libraries - Android Framework - Android Applications 2. What are the advantages of having an emulator within the Android environment? - The emulator allows the developers to work around an interface which acts as if it were an actual mobile device. - They can write, test and debug the code. - They are safe for testing the code in early design phase

CSharp C# .NET Interview Questions and Answers

** C# .NET ** *    How can you copy a class?    - A shallow copy copies all value types and reference values - references will still point to the same place in memory  myClass.MemberwiseClone();    - A deep copy copies all fields and referenced objects to new memory, need to create a new *    What is boxing?    - Casting a value type as an object (ref type) type to allow it to be garbarge collected. Has an overhead and should be avoided.       int a; object b = (obj)a;

Most Common HR Interview Questions

1. Tell me about yourself: The most often asked question in interviews. You need to have a short statement prepared in your mind. Be careful that it does not sound rehearsed. Limit it to work-related items unless instructed otherwise. Talk about things you have done and jobs you have held that relate to the position you are interviewing for. Start with the item farthest back and work up to the present. 2. Why did you leave your last job? Stay positive regardless of the circumstances. Never refer to a major problem with management and never speak ill of supervisors, co-workers or the organization. If you do, you will be the one looking bad. Keep smiling and talk about leaving for a positive reason such as an opportunity, a chance to do something special or other forward-looking reasons.