|Home |Login |Registration |Struts Step by Step Tutorial |Hibernate Step by Step Tutorial |Spring Step by Step Tutorial |JSP Step by Step Tutorial |JDBC Step by Step Tutorial |Web Services Step by Step Tutorial |EJB fundamentals | ORACLE Step by Step Tutorial | SCJP 5.0 and SCJP 6.0 Study Guide | SCWCD 5.0 Study Guide | SCJP Tips
Java mock test | SCJP mock test | SCJP DUMP | SCBCD mock test |Java online test exam | JSP online test | ORACLE online test | Hibernate online test | Servlet online test | Struts online test | EJB online test | C online test | C++ online test | Aptitude online test

Java interview questions | JSP interview questions | ORACLE interview questions | Hibernate interview questions | Servlet interview questions | Struts interview questions | JDBC interview questions | C/C++ interview questions | Spring interview questions | JMS interview questions | Informatica interview questions | EJB interview questions | OOPS and Design Pattern interview questions
1600 PMP mock questions 1400 CAPM mock questions 800 SCJP 6 mock questions 600 OCAJP 7 mock questions 590 OCPJP 7 mock questions 556 SCWCD 5 mock questions 500 OCEJWCD 6 mock questions pdfDownload (java,struts, hibernet etc) JobsJobs and Walkins

 

Recent Questions

!!! C C++ Frequently Asked Questions !!!

What is the diff between "new" and "operator new" ?

SCJP 1.5/1.6 Exam Kit

!!!Answer!!!- From Technical Expert

"operator new" works like malloc.
What is difference between template and macro??
There is no way for the compiler to verify that the macro parameters are of compatible types. The macro is expanded without any special type checking.
If macro parameter has a postincremented variable ( like c++ ), the increment is performed two times.
Because macros are expanded by the preprocessor, compiler error messages will refer to the expanded macro, rather than the macro definition itself. Also, the macro will show up in expanded form during debugging.
for example:
Macro:
#define min(i, j) (i < j ? i : j)
template:
template<class T>
T min (T i, T j)
{
return i < j ? i : j;
}
What are C++ storage classes?
auto
register
static
extern
auto: the default. Variables are automatically created and initialized when they are defined and are destroyed at the end of the block containing their definition. They are not visible outside that block
register: a type of auto variable. a suggestion to the compiler to use a CPU register for performance
static: a variable that is known only in the function that contains its definition but is never destroyed and retains its value between calls to that function. It exists from the time the program begins execution
extern: a static variable whose definition and placement is determined when all object and library modules are combined (linked) to form the executable code file. It can be visible outside the file where it is defined.

Answered By : null Replied Date : Feb 25 2012
Answer :


Answered By : null Replied Date : Feb 2 2012
Answer :


Answered By : null Replied Date : Dec 1 2011
Answer :


Answered By : null Replied Date : Nov 30 2011
Answer :


Answered By : null Replied Date : Nov 6 2011
Answer :


Answered By : null Replied Date : Oct 15 2011
Answer :


Answered By : null Replied Date : Aug 10 2011
Answer :


Answered By : null Replied Date : Aug 10 2011
Answer :


Answered By : null Replied Date : Jun 22 2011
Answer :


Answered By : null Replied Date : Jun 19 2011
Answer :


Answered By : null Replied Date : Jun 5 2011
Answer :


Answered By : null Replied Date : May 4 2011
Answer :


Answered By : null Replied Date : Apr 27 2011
Answer :


Answered By : null Replied Date : Apr 24 2011
Answer :


Answered By : null Replied Date : Apr 22 2011
Answer :


Answered By : null Replied Date : Apr 22 2011
Answer :


Answered By : null Replied Date : Mar 30 2011
Answer :


Answered By : null Replied Date : Mar 22 2011
Answer :


Answered By : null Replied Date : Mar 22 2011
Answer :


Answered By : null Replied Date : Mar 22 2011
Answer :


Answered By : null Replied Date : Mar 21 2011
Answer :


Answered By : null Replied Date : Mar 3 2011
Answer :


Answered By : null Replied Date : Feb 13 2011
Answer :


Answered By : null Replied Date : Jan 11 2011
Answer :


Answered By : null Replied Date : Dec 28 2010
Answer :


Answered By : null Replied Date : Nov 29 2010
Answer :


Answered By : null Replied Date : Nov 27 2010
Answer :


Answered By : null Replied Date : Nov 4 2010
Answer :


Answered By : null Replied Date : Oct 2 2010
Answer :


Answered By : null Replied Date : Sep 30 2010
Answer :


Answered By : null Replied Date : Sep 13 2010
Answer :


Answered By : null Replied Date : Sep 9 2010
Answer :


Answered By : null Replied Date : Sep 3 2010
Answer :


Answered By : null Replied Date : Aug 20 2010
Answer :


Answered By : null Replied Date : Aug 11 2010
Answer :


Answered By : null Replied Date : May 24 2012
Answer :


Answered By : null Replied Date : Jun 22 2012
Answer :


Answered By : null Replied Date : Jun 25 2012
Answer :


Answered By : null Replied Date : Aug 23 2012
Answer :


Answered By : null Replied Date : Nov 2 2012
Answer :


Answered By : null Replied Date : Dec 3 2012
Answer :


Answered By : null Replied Date : Jan 2 2013
Answer :


Answered By : null Replied Date : Jan 31 2013
Answer :


 

You can also contribute to this answer:

Your Name:
Answer:

 
Ask Question and get answer from Expert.
View Answers List from Expert.

The information you are posting should be related to java and ORACLE technology. Not political.