When is a memory allocated to a class?

Answer Posted / saurabh

when we create the data member of the class by using d syntax
class
{




static int a;
};
static int a;

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is property in oops?

569


Can we override main method?

608


What is destructor give example?

608


What are the types of abstraction?

560


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2150






What are different oops concepts?

578


Why do we use polymorphism?

579


write a C++ program for booking using constructor and destructor.

2053


What is encapsulation example?

551


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1991


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1659


Who invented oop?

659


What is oops in simple words?

585


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1645


What is an example of genetic polymorphism?

651